Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
amalessid committed Sep 25, 2024
1 parent d204c9e commit 8b47489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/shared-links/Components/LinksTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default function LinksTable() {
if (selectedLinkId) {
try {
await apiSharedLink.deactivateLink(selectedLinkId);
setRefetch(true);
setRefetch(!refetch);
setConfirmDialogOpen(false);
} catch (error) {
console.error('Failed to deactivate link:', error);
Expand Down

0 comments on commit 8b47489

Please sign in to comment.