File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
site/src/pages/DeploySettingsPage/OAuth2AppsSettingsPage Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change 1
1
import { useTheme } from "@emotion/react" ;
2
+ import CopyIcon from "@mui/icons-material/FileCopyOutlined" ;
3
+ import KeyboardArrowLeft from "@mui/icons-material/KeyboardArrowLeft" ;
2
4
import Divider from "@mui/material/Divider" ;
3
5
import LoadingButton from "@mui/lab/LoadingButton" ;
4
6
import Button from "@mui/material/Button" ;
@@ -8,7 +10,6 @@ import TableCell from "@mui/material/TableCell";
8
10
import TableContainer from "@mui/material/TableContainer" ;
9
11
import TableHead from "@mui/material/TableHead" ;
10
12
import TableRow from "@mui/material/TableRow" ;
11
- import KeyboardArrowLeft from "@mui/icons-material/KeyboardArrowLeft" ;
12
13
import { type FC , useState } from "react" ;
13
14
import { Link , useSearchParams } from "react-router-dom" ;
14
15
import type * as TypesGen from "api/typesGenerated" ;
@@ -138,12 +139,16 @@ export const EditOAuth2AppPageView: FC<EditOAuth2AppProps> = ({
138
139
onCancel = { ( ) => setShowDelete ( false ) }
139
140
/>
140
141
141
- < Stack direction = "row" >
142
- < div >
143
- < strong > Client ID:</ strong >
144
- </ div >
145
- < CopyableValue value = { app . id } > { app . id } </ CopyableValue >
146
- </ Stack >
142
+ < h2 css = { { marginBottom : 0 } } > Client ID</ h2 >
143
+ < CopyableValue value = { app . id } >
144
+ { app . id } { " " }
145
+ < CopyIcon
146
+ css = { {
147
+ width : 16 ,
148
+ height : 16 ,
149
+ } }
150
+ />
151
+ </ CopyableValue >
147
152
148
153
< Divider css = { { borderColor : theme . palette . divider } } />
149
154
You can’t perform that action at this time.
0 commit comments