You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a membership changes, the other rows of the table do not re-render.
This is an issue if for example you remove the last before admin, then the hasOnlyOneAdmin will not pass to true and there will be no safety to remove the last admin in the frontend.
Solution
Add the memberships to the useMemo dependencies in ItemMembershipsTable.tsx
The text was updated successfully, but these errors were encountered:
When a membership changes, the other rows of the table do not re-render.
This is an issue if for example you remove the last before admin, then the
hasOnlyOneAdmin
will not pass to true and there will be no safety to remove the last admin in the frontend.Solution
Add the memberships to the
useMemo
dependencies in ItemMembershipsTable.tsxThe text was updated successfully, but these errors were encountered: