🐛 Stop refresh typebot when typebotId is undefined
This commit is contained in:
@@ -119,6 +119,7 @@ export const TypebotProvider = ({
|
|||||||
description: error.message,
|
description: error.message,
|
||||||
}),
|
}),
|
||||||
onSuccess: () => {
|
onSuccess: () => {
|
||||||
|
if (!typebotId) return
|
||||||
refetchTypebot()
|
refetchTypebot()
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user