|
@@ -21,7 +21,6 @@ import { swrGlobalConfiguration } from '~/utils/swr-utils';
|
|
|
import { getLocaleAtServerSide } from './utils/locale';
|
|
import { getLocaleAtServerSide } from './utils/locale';
|
|
|
import { useNextjsRoutingPageRegister } from './utils/nextjs-routing-utils';
|
|
import { useNextjsRoutingPageRegister } from './utils/nextjs-routing-utils';
|
|
|
import { registerTransformerForObjectId } from './utils/objectid-transformer';
|
|
import { registerTransformerForObjectId } from './utils/objectid-transformer';
|
|
|
-import { useResetPageContextsOnNextRouting } from './utils/reset-page-contexts';
|
|
|
|
|
|
|
|
|
|
import '~/styles/prebuilt/vendor.css';
|
|
import '~/styles/prebuilt/vendor.css';
|
|
|
import '~/styles/style-app.scss';
|
|
import '~/styles/style-app.scss';
|
|
@@ -59,8 +58,6 @@ const GrowiAppSubstance = ({ Component, pageProps, userLocale }: GrowiAppProps):
|
|
|
|
|
|
|
|
useNextjsRoutingPageRegister(pageProps.nextjsRoutingPage);
|
|
useNextjsRoutingPageRegister(pageProps.nextjsRoutingPage);
|
|
|
|
|
|
|
|
- useResetPageContextsOnNextRouting();
|
|
|
|
|
-
|
|
|
|
|
useEffect(() => {
|
|
useEffect(() => {
|
|
|
const updateLangAttribute = () => {
|
|
const updateLangAttribute = () => {
|
|
|
if (document.documentElement.getAttribute('lang') !== userLocale) {
|
|
if (document.documentElement.getAttribute('lang') !== userLocale) {
|