File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
site/src/components/VSCodeDesktopButton Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
import Button from "@material-ui/core/Button"
2
2
import { getApiKey } from "api/api"
3
3
import { VSCodeIcon } from "components/Icons/VSCodeIcon"
4
- import React from "react"
4
+ import { FC , PropsWithChildren , useState } from "react"
5
5
6
6
export interface VSCodeDesktopButtonProps {
7
7
userName : string
8
8
workspaceName : string
9
9
agentName ?: string
10
10
}
11
11
12
- export const VSCodeDesktopButton : React . FC <
13
- React . PropsWithChildren < VSCodeDesktopButtonProps >
12
+ export const VSCodeDesktopButton : FC <
13
+ PropsWithChildren < VSCodeDesktopButtonProps >
14
14
> = ( { userName, workspaceName, agentName } ) => {
15
- const [ loading , setLoading ] = React . useState ( false )
15
+ const [ loading , setLoading ] = useState ( false )
16
16
17
17
return (
18
18
< Button
You can’t perform that action at this time.
0 commit comments