feat: add deprecation note on mobile builds

pull/26605/head
Nicolás Quiroz 2 years ago
parent 01cda6c45a
commit adeb7366dd
  1. 5
      src/components/UI/downloads/DownloadsTable.tsx

@ -2,6 +2,7 @@ import { Stack, Tabs, TabList, Tab, Text, TabPanel, TabPanels } from '@chakra-ui
import { FC, useMemo } from 'react';
import { DataTable } from '../../UI';
import { BuildsDeprecationNote } from './BuildsDeprecationNote';
import { DOWNLOADS_TABLE_TABS, DOWNLOADS_TABLE_TAB_COLUMN_HEADERS } from '../../../constants';
import { ReleaseData } from '../../../types';
@ -102,12 +103,16 @@ export const DownloadsTable: FC<Props> = ({
/>
</TabPanel>
<TabPanel p={0}>
<BuildsDeprecationNote os='iOS' />
<DataTable
columnHeaders={DOWNLOADS_TABLE_TAB_COLUMN_HEADERS}
data={iOSData.slice(0, amountOfReleasesToShow)}
/>
</TabPanel>
<TabPanel p={0}>
<BuildsDeprecationNote os='Android' />
<DataTable
columnHeaders={DOWNLOADS_TABLE_TAB_COLUMN_HEADERS}
data={androidData.slice(0, amountOfReleasesToShow)}

Loading…
Cancel
Save