2
0
kaori 4 жил өмнө
parent
commit
f4906be9ac

+ 2 - 2
packages/app/src/stores/editor.tsx

@@ -102,9 +102,9 @@ export const usePageTagsForEditors = (pageId: Nullable<string>): SWRResponse<str
 
   return {
     ...swrResult,
-    sync: (newTags?: string[]): void => {
+    sync: (newTagsOnEdit?: string[]): void => {
       const { mutate } = swrResult;
-      mutate(newTags || tagsInfoData?.tags || [], false);
+      mutate(newTagsOnEdit || tagsInfoData?.tags || [], false);
     },
   };
 };