Просмотр исходного кода

fix: Revert dynamic import for SearchResultList
- Add comment.

Tatsuya Ise 2 лет назад
Родитель
Сommit
77c2050204
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      apps/app/src/components/SearchPage/SearchPageBase.tsx

+ 2 - 1
apps/app/src/components/SearchPage/SearchPageBase.tsx

@@ -17,6 +17,7 @@ import { mutatePageTree } from '~/stores/page-listing';
 
 import { ForceHideMenuItems } from '../Common/Dropdown/PageItemControl';
 
+// TODO: use dynamic import. refs: https://redmine.weseek.co.jp/issues/127500
 import { SearchResultList } from './SearchResultList';
 
 import styles from './SearchPageBase.module.scss';
@@ -43,7 +44,7 @@ type Props = {
   searchPager: React.ReactNode,
 }
 
-
+// TODO: use dynamic import. refs: https://redmine.weseek.co.jp/issues/127500
 // const SearchResultList = dynamic(() => import('./SearchResultList').then(mod => mod.SearchResultList), { ssr: false });
 const SearchResultContent = dynamic(() => import('./SearchResultContent').then(mod => mod.SearchResultContent), {
   ssr: false,