Shun Miyazawa пре 4 година
родитељ
комит
bc5e239e86
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      packages/app/src/components/Admin/UserGroup/UserGroupPage.tsx

+ 3 - 3
packages/app/src/components/Admin/UserGroup/UserGroupPage.tsx

@@ -44,7 +44,7 @@ const UserGroupPage: FC<Props> = (props: Props) => {
    */
    */
   const syncUserGroupAndRelations = useCallback(async() => {
   const syncUserGroupAndRelations = useCallback(async() => {
     try {
     try {
-      await mutateUserGroups(undefined, true);
+      await mutateUserGroups();
     }
     }
     catch (err) {
     catch (err) {
       toastError(err);
       toastError(err);
@@ -77,7 +77,7 @@ const UserGroupPage: FC<Props> = (props: Props) => {
       });
       });
 
 
       // sync
       // sync
-      await mutateUserGroups(undefined, true);
+      await mutateUserGroups();
     }
     }
     catch (err) {
     catch (err) {
       toastError(err);
       toastError(err);
@@ -92,7 +92,7 @@ const UserGroupPage: FC<Props> = (props: Props) => {
       });
       });
 
 
       // sync
       // sync
-      await mutateUserGroups(undefined, true);
+      await mutateUserGroups();
 
 
       setSelectedUserGroup(undefined);
       setSelectedUserGroup(undefined);
       setDeleteModalShown(false);
       setDeleteModalShown(false);