Skip to content

Commit 75cc0ef

Browse files
Warning for pageProps: typescript-eslint/no-unused-vars. Fjernet advarsel
1 parent 2abf4eb commit 75cc0ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nextjs/src/components/layouts/LayoutContainer.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const LayoutContainer = ({
2626
const { layoutConfig } = useLayoutConfig();
2727

2828
const { descriptor, type, config = {} } = layoutProps;
29-
const { pageProps, ...filteredDivElementProps } = divElementProps;
29+
const { pageProps: _pageProps, ...filteredDivElementProps } = divElementProps;
3030
const layoutName = descriptor.split(':')[1];
3131
const commonLayoutStyle = getCommonLayoutStyle(config);
3232
const paddingConfig = config.paddingSides?._selected;

0 commit comments

Comments
 (0)