Ignore Errors

This commit is contained in:
degradin 2025-03-16 13:29:37 +03:00
parent 015d3eb5d1
commit 5f06f9b373
3 changed files with 22 additions and 6 deletions

View File

@ -0,0 +1,17 @@
'use client';
import dynamic from 'next/dynamic';
import { Center, Spinner } from '@chakra-ui/react';
const MainApp = dynamic(() => import('./MainApp'), {
ssr: false,
loading: () => (
<Center h="100vh">
<Spinner size="xl" />
</Center>
),
});
export default function ClientPage() {
return <MainApp />;
}

View File

@ -1,9 +1,5 @@
import dynamic from 'next/dynamic';
const MainAppWithNoSSR = dynamic(() => import('./components/MainApp'), {
ssr: false,
});
import ClientPage from './components/ClientPage';
export default function Home() {
return <MainAppWithNoSSR />;
return <ClientPage />;
}

View File

@ -31,6 +31,9 @@ const nextConfig = {
},
];
},
typescript: {
ignoreBuildErrors: true,
},
}
module.exports = nextConfig