|
|
@@ -25,7 +25,7 @@ import {
|
|
|
CommonProps, getNextI18NextConfig, getServerSideCommonProps, useCustomTitle,
|
|
|
} from './utils/commons';
|
|
|
|
|
|
-import styles from './SearchResultLayout.module.scss';
|
|
|
+const SearchResultLayout = dynamic(() => import('~/components/Layout/SearchResultLayout'), { ssr: false });
|
|
|
|
|
|
type Props = CommonProps & {
|
|
|
currentUser: IUser,
|
|
|
@@ -78,19 +78,12 @@ const PrivateLegacyPage: NextPage<Props> = (props: Props) => {
|
|
|
{renderScriptTagByName('highlight-addons')}
|
|
|
*/}
|
|
|
</Head>
|
|
|
- <div className={`${styles['on-search']}`}>
|
|
|
- <BasicLayout title={useCustomTitle(props, 'GROWI')}>
|
|
|
|
|
|
- <div id="grw-fav-sticky-trigger" className="sticky-top"></div>
|
|
|
- <div id="main" className="main search-page mt-0">
|
|
|
-
|
|
|
- <div id="private-regacy-pages">
|
|
|
- <PrivateLegacyPages />
|
|
|
- </div>
|
|
|
-
|
|
|
- </div>
|
|
|
- </BasicLayout>
|
|
|
- </div>
|
|
|
+ <SearchResultLayout title={useCustomTitle(props, 'GROWI')}>
|
|
|
+ <div id="private-regacy-pages">
|
|
|
+ <PrivateLegacyPages />
|
|
|
+ </div>
|
|
|
+ </SearchResultLayout>
|
|
|
</>
|
|
|
);
|
|
|
};
|