Refactored teams components.

This commit is contained in:
Mike Cao 2023-10-07 22:42:49 -07:00
parent 6253d55790
commit 8b48130d5f
18 changed files with 75 additions and 44 deletions

View file

@ -13,7 +13,7 @@ export function TeamLeaveButton({ teamId, teamName, onLeave }) {
<ModalTrigger>
<Button>
<Icon rotate={dir === 'rtl' ? 180 : 0}>
<Icons.ArrowRight />
<Icons.Logout />
</Icon>
<Text>{formatMessage(labels.leave)}</Text>
</Button>