Skip to content

Commit

Permalink
Merge pull request #260 from brunomous/fix/storage-settings-effect
Browse files Browse the repository at this point in the history
Adjust user id on storage settings hook
  • Loading branch information
andreneto97 authored Oct 17, 2024
2 parents 5540037 + 2655ab7 commit f2f67b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-material-ui/src/hooks/useSettingsStorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export const useSettingsStorage = (props: Props) => {
if (props.cacheApiPath) {
fetchOrCreateCache();
}
}, []);
}, [auth?.user]);

return { settings, updateSettings, clearSettings };
};

0 comments on commit f2f67b3

Please sign in to comment.