Skip to content

Commit

Permalink
make key thing uniform
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkav committed Sep 27, 2024
1 parent dcfbfe1 commit 565b569
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/insomnia/src/ui/routes/project.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1147,9 +1147,9 @@ const ProjectRoute: FC = () => {
selectionMode="single"
onSelectionChange={keys => {
if (keys !== 'all') {
const value = Array.from(keys.values?.())?.[0];
const [value] = keys.values();

setWorkspaceListScope(value?.toString());
setWorkspaceListScope(value.toString());
}
}}
>
Expand Down

0 comments on commit 565b569

Please sign in to comment.