File tree 1 file changed +3
-2
lines changed
packages/nextjs/src/components/layouts
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,14 @@ export const LayoutContainer = ({
20
20
layoutProps,
21
21
layoutStyle,
22
22
children,
23
+ /* eslint-disable-next-line @typescript-eslint/no-unused-vars */
24
+ pageProps,
23
25
...divElementProps
24
26
} : Props ) => {
25
27
const { editorView } = usePageContentProps ( ) ;
26
28
const { layoutConfig } = useLayoutConfig ( ) ;
27
29
28
30
const { descriptor, type, config = { } } = layoutProps ;
29
- const { pageProps : _pageProps , ...filteredDivElementProps } = divElementProps ;
30
31
const layoutName = descriptor . split ( ':' ) [ 1 ] ;
31
32
const commonLayoutStyle = getCommonLayoutStyle ( config ) ;
32
33
const paddingConfig = config . paddingSides ?. _selected ;
@@ -35,7 +36,7 @@ export const LayoutContainer = ({
35
36
36
37
return (
37
38
< div
38
- { ...filteredDivElementProps }
39
+ { ...divElementProps }
39
40
{ ...layoutConfig . editorProps }
40
41
className = { classNames (
41
42
style . layout ,
You can’t perform that action at this time.
0 commit comments