mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-22 18:28:00 +00:00
Reverted lazy load of StreamsTable
This commit is contained in:
parent
1029eb5b5c
commit
9c9cbab94c
1 changed files with 4 additions and 8 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import React, { lazy, Suspense } from 'react';
|
||||
import React from 'react';
|
||||
import ChannelsTable from '../components/tables/ChannelsTable';
|
||||
const StreamsTable = lazy(() => import('../components/tables/StreamsTable'));
|
||||
import { Box, Text } from '@mantine/core';
|
||||
import StreamsTable from '../components/tables/StreamsTable';
|
||||
import { Box, } from '@mantine/core';
|
||||
import { Allotment } from 'allotment';
|
||||
import { USER_LEVELS } from '../constants';
|
||||
import useAuthStore from '../store/auth';
|
||||
|
|
@ -53,11 +53,7 @@ const PageContent = () => {
|
|||
</Box>
|
||||
<Box p={10} miw={'100px'} style={{ overflowX: 'auto' }}>
|
||||
<Box miw={'600px'}>
|
||||
<ErrorBoundary>
|
||||
<Suspense fallback={<Text>Loading...</Text>}>
|
||||
<StreamsTable />
|
||||
</Suspense>
|
||||
</ErrorBoundary>
|
||||
<StreamsTable />
|
||||
</Box>
|
||||
</Box>
|
||||
</Allotment>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue