Skip to content

Commit b05baae

Browse files
committed
Remove chakra import
1 parent 0177235 commit b05baae

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/components/CallToContribute/index.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import React, { ReactNode } from "react"
1+
import React from "react"
22
import { FaGithub } from "react-icons/fa"
3-
import { FlexProps } from "@chakra-ui/react"
43

54
import { ChildOnlyProp } from "@/lib/types"
65

@@ -14,10 +13,7 @@ export type CallToContributeProps = {
1413
editPath: string
1514
}
1615

17-
const ContentColumn = (props: {
18-
children: ReactNode
19-
hideBelow?: FlexProps["hideBelow"]
20-
}) => (
16+
const ContentColumn = (props: ChildOnlyProp) => (
2117
<Flex
2218
className="flex-1 basis-1/2 flex-col p-4 text-body lg:text-start"
2319
{...props}

0 commit comments

Comments
 (0)