[FIX] Workspace settings not showing updated fields (#1344)

add tab to dependency array in useEffect to reload settings on tab change
This commit is contained in:
Sean Hatfield 2024-05-13 12:59:31 -07:00 committed by GitHub
parent 9ed2309757
commit 2fabc84578
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,7 +65,7 @@ function ShowWorkspaceChat() {
setLoading(false);
}
getWorkspace();
}, [slug]);
}, [slug, tab]);
if (loading) return <FullScreenLoader />;