Skip to content

Commit 83cc467

Browse files
refactor(Trilemma): remove use of useToken
1 parent 9f1e4c8 commit 83cc467

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/components/Trilemma/index.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import {
88
Flex,
99
Hide,
1010
Stack,
11-
useToken,
1211
} from "@chakra-ui/react"
1312
import Card from "../Card"
1413
import Translation from "../Translation"
@@ -33,9 +32,6 @@ const Trilemma: React.FC<IProps> = () => {
3332
...trilemmaChecks,
3433
}
3534

36-
// TODO: Replace with direct token implementation after UI migration is completed
37-
const lgBp = useToken("breakpoints", "lg")
38-
3935
return (
4036
<Flex
4137
alignItems="center"
@@ -72,7 +68,7 @@ const Trilemma: React.FC<IProps> = () => {
7268
</Box>
7369
<Card {...cardDetail} minH="300px" hideBelow="lg" />
7470
</Stack>
75-
<Hide above={lgBp}>
71+
<Hide above="lg">
7672
<Drawer
7773
isOpen={mobileModalOpen}
7874
onClose={handleModalClose}

0 commit comments

Comments
 (0)