Kaynağa Gözat

refactor useIsAllReplyShown

jam411 3 yıl önce
ebeveyn
işleme
16a2753645
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      packages/app/src/stores/context.tsx

+ 1 - 1
packages/app/src/stores/context.tsx

@@ -228,7 +228,7 @@ export const useRendererConfig = (initialData?: RendererConfig): SWRResponse<Ren
   return useStaticSWR('growiRendererConfig', initialData);
 };
 
-export const useIsAllReplyShown = (initialData?: boolean): SWRResponse<boolean, any> => {
+export const useIsAllReplyShown = (initialData?: boolean): SWRResponse<boolean, Error> => {
   return useStaticSWR('isAllReplyShown', initialData);
 };