More refactoring, cleaned up icons, nav buttons, add messages.

This commit is contained in:
Mike Cao 2023-01-27 21:53:13 -08:00
parent 4b1013c8c6
commit 5f15ad0807
68 changed files with 391 additions and 790 deletions

View file

@ -11,11 +11,9 @@ import {
Flexbox,
Text,
} from 'react-basics';
import { useIntl } from 'react-intl';
import { ROLES } from 'lib/constants';
import { labels } from 'components/messages';
import { useIntl } from 'react-intl';
const { Close } = Icons;
export default function TeamMembersTable({ data = [] }) {
const { formatMessage } = useIntl();
@ -48,7 +46,7 @@ export default function TeamMembersTable({ data = [] }) {
<div>
<Button>
<Icon>
<Close />
<Icons.Close />
</Icon>
<Text>{formatMessage(labels.remove)}</Text>
</Button>