2
0

feat(editor): ️ Improve graph navigation setting

This commit is contained in:
Baptiste Arnaud
2022-04-08 15:10:21 -05:00
parent c5d3b9214d
commit 4502e68065
5 changed files with 106 additions and 74 deletions

View File

@ -55,7 +55,12 @@ export const CreateNewTypebotButtons = () => {
if (data)
router.push({
pathname: `/typebots/${data.id}/edit`,
query: { isFirstBot: router.query.isFirstBot },
query:
router.query.isFirstBot === 'true'
? {
isFirstBot: 'true',
}
: {},
})
setIsLoading(false)
}