Преглед изворни кода

make SearchResultLayout universal

Yuki Takei пре 1 година
родитељ
комит
ff72b4b3c5

+ 0 - 0
apps/app/src/components/Layout/SearchResultLayout.module.scss → apps/app/src/components-universal/Layout/SearchResultLayout.module.scss


+ 0 - 0
apps/app/src/components/Layout/SearchResultLayout.tsx → apps/app/src/components-universal/Layout/SearchResultLayout.tsx


+ 1 - 1
apps/app/src/pages/_private-legacy-pages.page.tsx

@@ -22,7 +22,7 @@ import {
   getNextI18NextConfig, getServerSideCommonProps, generateCustomTitle, useInitSidebarConfig,
 } from './utils/commons';
 
-const SearchResultLayout = dynamic(() => import('~/components/Layout/SearchResultLayout'), { ssr: false });
+const SearchResultLayout = dynamic(() => import('~/components-universal/Layout/SearchResultLayout'), { ssr: false });
 
 type Props = CommonProps & {
   currentUser: IUser,

+ 1 - 1
apps/app/src/pages/_search.page.tsx

@@ -7,8 +7,8 @@ import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
 import dynamic from 'next/dynamic';
 import Head from 'next/head';
 
+import SearchResultLayout from '~/components-universal/Layout/SearchResultLayout';
 import { DrawioViewerScript } from '~/components-universal/Script/DrawioViewerScript';
-import SearchResultLayout from '~/components/Layout/SearchResultLayout';
 import type { CrowiRequest } from '~/interfaces/crowi-request';
 import type { RendererConfig } from '~/interfaces/services/renderer';
 import type { ISidebarConfig } from '~/interfaces/sidebar-config';