Skip to content

Commit

Permalink
fix: remove redundant dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Saelmala authored and birme committed Sep 6, 2024
1 parent f920b5a commit b01577e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/sources/useSources.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ export function useSources(
}
sources.set(updatedSource._id.toString(), updatedSource);
setSources(new Map<string, SourceWithId>(sources));
}, [updatedSource, deleteComplete, sources]);
}, [updatedSource, deleteComplete]);
return [sources, loading];
}

0 comments on commit b01577e

Please sign in to comment.