ソースを参照

refactor useIsAllReplyShown

jam411 3 年 前
コミット
16a2753645
1 ファイル変更1 行追加1 行削除
  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);
 };