Skip to content

Commit

Permalink
Reload data when removed
Browse files Browse the repository at this point in the history
  • Loading branch information
rlho committed Nov 6, 2023
1 parent f7c61d7 commit 95307b8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export const AdminUsers = () => {
adminUser.email
);
alert('Successfully removed');
window.location.reload();
fetchAdminUsers();
}}
>
Remove
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export const Ban = () => {
ban.email
);
alert('Successfully removed');
window.location.reload();
fetchBans();
}}
>
Remove
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export const Liaisons = () => {
liaison.email
);
alert('Successfully removed');
window.location.reload();
fetchLiaisonUsers();
}}
>
Remove
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export const SafetyTraining = () => {
safetyTraining.email
);
alert('Successfully removed');
window.location.reload();
fetchSafetyTrainings();
}}
>
Remove
Expand Down

0 comments on commit 95307b8

Please sign in to comment.