Skip to content

Commit e1460b1

Browse files
committed
Fix React imports
1 parent c59ffbc commit e1460b1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

site/src/components/VSCodeDesktopButton/VSCodeDesktopButton.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
import Button from "@material-ui/core/Button"
22
import { getApiKey } from "api/api"
33
import { VSCodeIcon } from "components/Icons/VSCodeIcon"
4-
import React from "react"
4+
import { FC, PropsWithChildren, useState } from "react"
55

66
export interface VSCodeDesktopButtonProps {
77
userName: string
88
workspaceName: string
99
agentName?: string
1010
}
1111

12-
export const VSCodeDesktopButton: React.FC<
13-
React.PropsWithChildren<VSCodeDesktopButtonProps>
12+
export const VSCodeDesktopButton: FC<
13+
PropsWithChildren<VSCodeDesktopButtonProps>
1414
> = ({ userName, workspaceName, agentName }) => {
15-
const [loading, setLoading] = React.useState(false)
15+
const [loading, setLoading] = useState(false)
1616

1717
return (
1818
<Button

0 commit comments

Comments
 (0)