Skip to content

Commit

Permalink
🐛 (dashboard) Fix a bug preventing user to see settings content
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Nov 23, 2022
1 parent 635e688 commit ec0e4be
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,14 @@ export const WorkspaceSettingsModal = ({
</Flex>
</Stack>

{isOpen && user.graphNavigation && (
{isOpen && (
<Flex flex="1" p="10">
<SettingsContent
tab={selectedTab}
onClose={onClose}
defaultGraphNavigation={user.graphNavigation}
defaultGraphNavigation={
user.graphNavigation ?? GraphNavigation.TRACKPAD
}
/>
</Flex>
)}
Expand Down

0 comments on commit ec0e4be

Please sign in to comment.