2
0

🐛 (dashboard) Fix a bug preventing user to see settings content

This commit is contained in:
Baptiste Arnaud
2022-11-23 07:31:37 +01:00
parent 635e6887f3
commit ec0e4bee77

View File

@ -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>
)}