hunk.code_window: }
   export const WorkspaceListModal = ({
     open,
     onClose,
     workspaces,
     user,
  
hunk.labels: keep keep add keep keep keep keep
hunk.after_edit:   disabled,
  
hunk.file_path: apps/web/src/components/pure/workspace-list-modal/index.tsx
hunk.type: add
file: import { useAtomValue } from 'jotai';
  
  import { lastWorkspaceIdAtom } from '../current/use-current-workspace';
  
  export function useLastWorkspaceId() {
    return useAtomValue(lastWorkspaceIdAtom);
  }
  