✅ add -bootstrap
This commit is contained in:
1 parent
fd4dc77603
commit
141d9e53e8
4 files changed
+189
-4
No files matched your search
@@ -1,7 +1,15 @@
|
||||
import { SessionProvider } from "next-auth/react";
|
||||
import { AppProps } from "next/app";
|
||||
import { useEffect } from "react";
|
||||
|
||||
import 'bootstrap/dist/css/bootstrap.css'
|
||||
import "../css/custom.css";
|
||||
|
||||
const App = ({ Component, pageProps }: AppProps) => {
|
||||
useEffect(() => {
|
||||
import("bootstrap/dist/js/bootstrap");
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<SessionProvider session={pageProps.session}>
|
||||
<Component {...pageProps} />
|
||||
|
||||
Reference in new issue
Block a user