We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
useToken
1 parent 9f1e4c8 commit 83cc467Copy full SHA for 83cc467
src/components/Trilemma/index.tsx
@@ -8,7 +8,6 @@ import {
8
Flex,
9
Hide,
10
Stack,
11
- useToken,
12
} from "@chakra-ui/react"
13
import Card from "../Card"
14
import Translation from "../Translation"
@@ -33,9 +32,6 @@ const Trilemma: React.FC<IProps> = () => {
33
32
...trilemmaChecks,
34
}
35
36
- // TODO: Replace with direct token implementation after UI migration is completed
37
- const lgBp = useToken("breakpoints", "lg")
38
-
39
return (
40
<Flex
41
alignItems="center"
@@ -72,7 +68,7 @@ const Trilemma: React.FC<IProps> = () => {
72
68
</Box>
73
69
<Card {...cardDetail} minH="300px" hideBelow="lg" />
74
70
</Stack>
75
- <Hide above={lgBp}>
71
+ <Hide above="lg">
76
<Drawer
77
isOpen={mobileModalOpen}
78
onClose={handleModalClose}
0 commit comments