Skip to content

Commit

Permalink
regression: fix console warnings (#29277)
Browse files Browse the repository at this point in the history
  • Loading branch information
dougfabris authored May 17, 2023
1 parent 6d59274 commit bbc21e9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
24 changes: 14 additions & 10 deletions apps/meteor/client/views/admin/invites/InvitesPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,20 @@ const InvitesPage = (): ReactElement => {
const notSmall = useMediaQuery('(min-width: 768px)');

const headers = useMemo(
() => [
<GenericTableHeaderCell w={notSmall ? '20%' : '80%'}>{t('Token')}</GenericTableHeaderCell>,
notSmall && [
<GenericTableHeaderCell w='35%'>{t('Created_at')}</GenericTableHeaderCell>,
<GenericTableHeaderCell w='20%'>{t('Expiration')}</GenericTableHeaderCell>,
<GenericTableHeaderCell w='10%'>{t('Uses')}</GenericTableHeaderCell>,
<GenericTableHeaderCell w='10%'>{t('Uses_left')}</GenericTableHeaderCell>,
<GenericTableHeaderCell />,
],
],
() => (
<>
<GenericTableHeaderCell w={notSmall ? '20%' : '80%'}>{t('Token')}</GenericTableHeaderCell>
{notSmall && (
<>
<GenericTableHeaderCell w='35%'>{t('Created_at')}</GenericTableHeaderCell>
<GenericTableHeaderCell w='20%'>{t('Expiration')}</GenericTableHeaderCell>
<GenericTableHeaderCell w='10%'>{t('Uses')}</GenericTableHeaderCell>
<GenericTableHeaderCell w='10%'>{t('Uses_left')}</GenericTableHeaderCell>
<GenericTableHeaderCell />
</>
)}
</>
),
[notSmall, t],
);

Expand Down
6 changes: 3 additions & 3 deletions apps/meteor/client/views/root/AppRoot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ const AppRoot = (): ReactElement => (
{createPortal(
<>
<meta charSet='utf-8' />
<meta http-equiv='content-type' content='text/html; charset=utf-8' />
<meta http-equiv='expires' content='-1' />
<meta http-equiv='X-UA-Compatible' content='IE=edge' />
<meta httpEquiv='content-type' content='text/html; charset=utf-8' />
<meta httpEquiv='expires' content='-1' />
<meta httpEquiv='X-UA-Compatible' content='IE=edge' />
<meta name='fragment' content='!' />
<meta name='distribution' content='global' />
<meta
Expand Down

0 comments on commit bbc21e9

Please sign in to comment.