Skip to content

Commit 0eb7d12

Browse files
committed
fixup! Import PropsWithChildren in a few components
1 parent cc5008c commit 0eb7d12

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

site/src/components/AppLink/AppLink.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Button from "@material-ui/core/Button"
22
import Link from "@material-ui/core/Link"
33
import { makeStyles } from "@material-ui/core/styles"
44
import ComputerIcon from "@material-ui/icons/Computer"
5-
import { FC } from "react"
5+
import { FC, PropsWithChildren } from "react"
66
import * as TypesGen from "../../api/typesGenerated"
77
import { generateRandomString } from "../../util/random"
88

site/src/components/TableCellData/TableCellData.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ interface StyleProps {
66
highlight?: boolean
77
}
88

9-
export const TableCellData: React.FC<React.PropsWithChildren<unknown>> = ({ children }) => {
9+
export const TableCellData: React.FC<React.ReactNode> = ({ children }) => {
1010
return <Stack spacing={0}>{children}</Stack>
1111
}
1212

yarn.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2+
# yarn lockfile v1
3+
4+

0 commit comments

Comments
 (0)