Fix routing bug

This commit is contained in:
Hazem Krimi
2021-06-14 02:25:34 +01:00
parent 2e767da17d
commit 5e5e9b839a
3 changed files with 14 additions and 4 deletions
+3 -1
View File
@@ -81,7 +81,9 @@ const Feature = () => {
variant='primary-action'
text='Settings'
iconLeft={<Settings />}
onClick={() => history.push(`/feature-settings/${id}`)}
onClick={() =>
history.push(`/feature-settings/${id || feature.id}`)
}
/>
</Box>
<Box marginBottom='30px'>