Browse Source

render EmptyTrashModal

Shun Miyazawa 3 years ago
parent
commit
2680cbcc98
1 changed files with 4 additions and 0 deletions
  1. 4 0
      packages/app/src/pages/trash.page.tsx

+ 4 - 0
packages/app/src/pages/trash.page.tsx

@@ -22,6 +22,8 @@ import {
 const TrashPageList = dynamic(() => import('~/components/TrashPageList').then(mod => mod.TrashPageList), { ssr: false });
 const GrowiContextualSubNavigation = dynamic(() => import('~/components/Navbar/GrowiContextualSubNavigation'), { ssr: true });
 
+const EmptyTrashModal = dynamic(() => import('~/components/EmptyTrashModal'), { ssr: false });
+
 type Props = CommonProps & {
   currentUser: IUser,
   isSearchServiceConfigured: boolean,
@@ -54,6 +56,8 @@ const TrashPage: NextPage<CommonProps> = (props: Props) => {
           <TrashPageList />
         </div>
       </BasicLayout>
+
+      <EmptyTrashModal />
     </>
   );
 };