diff --git a/pages/_app.js b/pages/_app.js index 8206992d..0cf7011b 100644 --- a/pages/_app.js +++ b/pages/_app.js @@ -1,5 +1,6 @@ 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'; @@ -25,15 +26,16 @@ const Intl = ({ children }) => { export default function App({ Component, pageProps }) { useForceSSL(process.env.FORCE_SSL); const store = useStore(); + const { basePath } = useRouter(); return ( - - - - - + + + + +