diff --git a/striker-ui/pages/server/index.tsx b/striker-ui/pages/server/index.tsx index 72fc281e..dde4121a 100644 --- a/striker-ui/pages/server/index.tsx +++ b/striker-ui/pages/server/index.tsx @@ -3,7 +3,6 @@ import { useRouter } from 'next/router'; import { Box } from '@material-ui/core'; import { makeStyles } from '@material-ui/core/styles'; -import PeriodicFetch from '../../lib/fetchers/periodicFetch'; import { FullSize, Preview } from '../../components/Display'; import Header from '../../components/Header'; @@ -45,15 +44,10 @@ const Server = (): JSX.Element => { const router = useRouter(); const { uuid } = router.query; - const { data } = PeriodicFetch( - `${process.env.NEXT_PUBLIC_API_URL}/get_replicated_storage?server_uuid=${uuid}`, - ); - return ( <>
{typeof uuid === 'string' && - data && (previewMode ? (