import React from 'react'; import Head from 'next/head'; import { useRouter } from 'next/router'; import { IntlProvider } from 'react-intl'; import { Provider } from 'react-redux'; import { useStore } from 'redux/store'; import useLocale from 'hooks/useLocale'; import useForceSSL from 'hooks/useForceSSL'; import { messages } from 'lib/lang'; import 'styles/variables.css'; import 'styles/bootstrap-grid.css'; import 'styles/index.css'; const Intl = ({ children }) => { const [locale] = useLocale(); const Wrapper = ({ children }) => {children}; return ( {children} ); }; export default function App({ Component, pageProps }) { useForceSSL(process.env.FORCE_SSL); const store = useStore(); const { basePath } = useRouter(); return ( ); }