2
0

🐛 Stop refresh typebot when typebotId is undefined

This commit is contained in:
Baptiste Arnaud
2023-08-17 18:17:53 +02:00
parent a4ba9a8a77
commit e2075d6135

View File

@ -119,6 +119,7 @@ export const TypebotProvider = ({
description: error.message,
}),
onSuccess: () => {
if (!typebotId) return
refetchTypebot()
},
})