Skip to content

Commit

Permalink
[FIX] Workspace settings not showing updated fields (#1344)
Browse files Browse the repository at this point in the history
add tab to dependency array in useEffect to reload settings on tab change
  • Loading branch information
shatfield4 committed May 13, 2024
1 parent 9ed2309 commit 2fabc84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/WorkspaceSettings/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function ShowWorkspaceChat() {
setLoading(false);
}
getWorkspace();
}, [slug]);
}, [slug, tab]);

if (loading) return <FullScreenLoader />;

Expand Down

0 comments on commit 2fabc84

Please sign in to comment.