Skip to content

Commit

Permalink
Replace keys
Browse files Browse the repository at this point in the history
  • Loading branch information
n-bernat committed Dec 11, 2024
1 parent 126a972 commit fb5abc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/leancode_hooks/lib/src/use_disposable.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ T useDisposable<T>({

useEffect(
() => () => dispose(value),
[value],
keys,
);

return value;
Expand Down

0 comments on commit fb5abc5

Please sign in to comment.