Skip to content

Commit

Permalink
remove fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
Da-Colon committed Mar 21, 2024
1 parent 3bd3ecc commit 7eff319
Showing 1 changed file with 18 additions and 20 deletions.
38 changes: 18 additions & 20 deletions src/components/ui/badges/QuorumBadge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,26 +75,24 @@ export default function QuorumBadge({ proposal }: { proposal: FractalProposal })
const displayColor =
!totalVotesCasted.isZero() && meetsQuorum ? quorumReachedColor : quorumNotReachedColor;
return (
<>
<Box
rounded="md"
textStyle="text-md-sans-regular"
borderColor={displayColor}
textColor={displayColor}
border="1px solid"
px="0.5rem"
h="1.5rem"
lineHeight={1.5}
<Box
rounded="md"
textStyle="text-md-sans-regular"
borderColor={displayColor}
textColor={displayColor}
border="1px solid"
px="0.5rem"
h="1.5rem"
lineHeight={1.5}
>
<Flex
gap={2}
alignItems="center"
>
<Flex
gap={2}
alignItems="center"
>
<Check boxSize={4} />
<Box>{t('quorum', { ns: 'common' })}</Box>
<Box>{quorumDisplay}</Box>
</Flex>
</Box>
</>
<Check boxSize={4} />
<Box>{t('quorum', { ns: 'common' })}</Box>
<Box>{quorumDisplay}</Box>
</Flex>
</Box>
);
}

0 comments on commit 7eff319

Please sign in to comment.