Skip to content

Commit

Permalink
task: only refresh store data when auth validity changed
Browse files Browse the repository at this point in the history
  • Loading branch information
finnar-bin committed Feb 21, 2024
1 parent c05b437 commit 8c39e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shell/components/load-instance/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default connect((state) => {
props.dispatch(fetchFiles("views"));
props.dispatch(fetchFiles("stylesheets"));
props.dispatch(fetchFiles("scripts"));
}, [props.auth]);
}, [props.auth.valid]);

useEffect(() => {
if (
Expand Down

0 comments on commit 8c39e30

Please sign in to comment.