Shun Miyazawa 4 lat temu
rodzic
commit
e9fef4ec45

+ 1 - 1
packages/app/src/components/Admin/UserGroupDetail/UserGroupDetailPage.tsx

@@ -283,7 +283,7 @@ const UserGroupDetailPage: FC = () => {
     }
     }
     catch (err) {
     catch (err) {
       toastError(err);
       toastError(err);
-      throw new Error(err);
+      throw err;
     }
     }
   }, [t, mutateChildUserGroups, mutateSelectableChildUserGroups]);
   }, [t, mutateChildUserGroups, mutateSelectableChildUserGroups]);