diff --git a/packages/bruno-app/src/components/Sidebar/Collections/CreateOrAddCollection/index.js b/packages/bruno-app/src/components/Sidebar/Collections/CreateOrAddCollection/index.js
index ad0bbf7fb..edd7ce799 100644
--- a/packages/bruno-app/src/components/Sidebar/Collections/CreateOrAddCollection/index.js
+++ b/packages/bruno-app/src/components/Sidebar/Collections/CreateOrAddCollection/index.js
@@ -43,7 +43,7 @@ const CreateOrAddCollection = () => {
return (
- {createCollectionModalOpen ? setCreateCollectionModalOpen(false)} handleConfirm={handleCreateCollection} /> : null}
+ {createCollectionModalOpen ? setCreateCollectionModalOpen(false)} handleConfirm={handleCreateCollection} /> : null}
{addCollectionToWSModalOpen ? (
setAddCollectionToWSModalOpen(false)} onSelect={handleAddCollectionToWorkspace} />
diff --git a/packages/bruno-app/src/components/Workspaces/WorkspaceSelector/index.js b/packages/bruno-app/src/components/Workspaces/WorkspaceSelector/index.js
index 12c5a7a6c..287130905 100644
--- a/packages/bruno-app/src/components/Workspaces/WorkspaceSelector/index.js
+++ b/packages/bruno-app/src/components/Workspaces/WorkspaceSelector/index.js
@@ -18,7 +18,7 @@ const WorkspaceSelector = () => {
useEffect(() => {
setActiveWorkspace(workspaces.find((workspace) => workspace.uid === activeWorkspaceUid));
- }, [activeWorkspaceUid]);
+ }, [activeWorkspaceUid, workspaces]);
const Icon = forwardRef((props, ref) => {
return (