mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-01 15:13:04 +02:00
Optimize sidebar collapsing
This commit is contained in:
@@ -18,7 +18,7 @@ function useActiveWorkspaceId(): string | null {
|
||||
}
|
||||
|
||||
export function getActiveWorkspaceId() {
|
||||
return jotaiStore.get(activeWorkspaceIdAtom);
|
||||
return jotaiStore.get(activeWorkspaceIdAtom) ?? null;
|
||||
}
|
||||
|
||||
export function useSubscribeActiveWorkspaceId() {
|
||||
|
||||
Reference in New Issue
Block a user