Mao 4 سال پیش
والد
کامیت
e986ddd6ec
1فایلهای تغییر یافته به همراه0 افزوده شده و 3 حذف شده
  1. 0 3
      packages/app/src/components/SearchPage/SearchResultContent.tsx

+ 0 - 3
packages/app/src/components/SearchPage/SearchResultContent.tsx

@@ -11,9 +11,6 @@ type Props ={
 }
 const SearchResultContent: FC<Props> = (props: Props) => {
   const page = props.selectedPage;
-  if (page == null) {
-    return;
-  }
   // Temporaly workaround for lint error
   // later needs to be fixed: RevisoinRender to typescriptcomponet
   const RevisionLoaderTypeAny: any = RevisionLoader;