Skip to content

Commit

Permalink
refactor(Trilemma): remove use of useToken
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerAPfledderer committed Oct 21, 2023
1 parent 9f1e4c8 commit 83cc467
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/Trilemma/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
Flex,
Hide,
Stack,
useToken,
} from "@chakra-ui/react"
import Card from "../Card"
import Translation from "../Translation"
Expand All @@ -33,9 +32,6 @@ const Trilemma: React.FC<IProps> = () => {
...trilemmaChecks,
}

// TODO: Replace with direct token implementation after UI migration is completed
const lgBp = useToken("breakpoints", "lg")

return (
<Flex
alignItems="center"
Expand Down Expand Up @@ -72,7 +68,7 @@ const Trilemma: React.FC<IProps> = () => {
</Box>
<Card {...cardDetail} minH="300px" hideBelow="lg" />
</Stack>
<Hide above={lgBp}>
<Hide above="lg">
<Drawer
isOpen={mobileModalOpen}
onClose={handleModalClose}
Expand Down

0 comments on commit 83cc467

Please sign in to comment.