mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
refactor: Refactor tokens layout a bit (#5771)
This commit is contained in:
@@ -75,5 +75,6 @@ const useStyles = makeStyles((theme) => ({
|
||||
color: theme.palette.text.secondary,
|
||||
fontSize: 16,
|
||||
marginTop: theme.spacing(0.5),
|
||||
lineHeight: "140%",
|
||||
},
|
||||
}))
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { FC, PropsWithChildren } from "react"
|
||||
import { Section } from "../../../components/Section/Section"
|
||||
import { Section } from "../../../components/SettingsLayout/Section"
|
||||
import { TokensPageView } from "./TokensPageView"
|
||||
import { tokensMachine } from "xServices/tokens/tokensXService"
|
||||
import { useMachine } from "@xstate/react"
|
||||
@@ -22,10 +22,10 @@ export const TokensPage: FC<PropsWithChildren<unknown>> = () => {
|
||||
const { getTokensError, tokens, deleteTokenId } = tokensState.context
|
||||
const styles = useStyles()
|
||||
const description = (
|
||||
<p>
|
||||
<>
|
||||
{Language.descriptionPrefix}{" "}
|
||||
<code className={styles.code}>coder tokens create</code> command.
|
||||
</p>
|
||||
</>
|
||||
)
|
||||
|
||||
const content = (
|
||||
|
||||
Reference in New Issue
Block a user