Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskerr committed Mar 24, 2021
1 parent aa24bdb commit 9ee8884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/components/WorkspacePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default function WorkspacePicker() {
const current = useSelector(Workspaces.id(workspaceId))
return (
<WorkspacePickerWrapper onClick={() => dispatch(showWorkspaceMenu())}>
<label>{`${current.name}`}</label>
<label>{`${current?.name}`}</label>
<DropdownArrow />
</WorkspacePickerWrapper>
)
Expand Down

0 comments on commit 9ee8884

Please sign in to comment.