Skip to content

Commit

Permalink
fix repression in unstructuredstudio#933
Browse files Browse the repository at this point in the history
  • Loading branch information
coderatomy committed Dec 5, 2023
1 parent 3cec483 commit c0c41a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zubhub_frontend/zubhub/src/wrapper/PageWrapper.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function PageWrapper(props) {
}, [prevScrollPos]);

useEffect(() => {
if (!props.auth.token) {
if (!props.auth.token && !props?.global) {
props.navigate('/session-expired');
}
}, [props.auth.token]);
Expand Down

0 comments on commit c0c41a3

Please sign in to comment.