import Head from 'next/head'; import { useRouter } from 'next/router'; import { IntlProvider } from 'react-intl'; import useLocale from 'hooks/useLocale'; import 'styles/variables.css'; import 'styles/bootstrap-grid.css'; import 'styles/index.css'; import '@fontsource/inter/400.css'; import '@fontsource/inter/600.css'; const Intl = ({ children }) => { const { locale, messages } = useLocale(); const Wrapper = ({ children }) => {children}; return ( {children} ); }; export default function App({ Component, pageProps }) { const { basePath } = useRouter(); const { dir } = useLocale(); if (process.env.uiDisabled) { return null; } return (
); }