Skip to content

Commit 0fab9ae

Browse files
pettinaripwackerow
andauthored
Update src/pages/layer-2.tsx
Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
1 parent 00bc5eb commit 0fab9ae

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/pages/layer-2.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,10 @@ const SectionHeading = (props: HeadingProps) => {
7373
return <Heading {...mergeProps} />
7474
}
7575

76-
const ContentBox = ({
77-
isLightGrayBg,
78-
...rest
79-
}: BoxProps & {
80-
children: ReactNode
76+
interface ContentBoxProps extends BoxProps {
8177
isLightGrayBg?: boolean
82-
}) => (
78+
}
79+
const ContentBox: React.FC<ContentBoxProps> = ({ isLightGrayBg, ...rest }) => (
8380
<Box
8481
px={8}
8582
py={12}

0 commit comments

Comments
 (0)