Andreas Schaafsma f6eef1ded3 Many Changes
2024-05-14 12:49:50 +02:00

10 lines
320 B
TypeScript

'use client'
import 'bootstrap/dist/css/bootstrap.css';
import { useEffect } from 'react';
export default function Bootstrap(Component, children, pageProps){
useEffect(() => {
typeof document !== undefined ? require('bootstrap/dist/js/bootstrap') : null
}, []);
return <><div {...pageProps} /></>;
}