2
0

fix(engine): 🐛 Typing emulation on arabic chars

This commit is contained in:
Baptiste Arnaud
2022-02-23 18:21:15 +01:00
parent 1dc2264bdf
commit b6618ba165
2 changed files with 4 additions and 2 deletions

View File

@ -34,9 +34,10 @@ export const TypebotContext = ({
setLocalTypebot((localTypebot) => ({
...localTypebot,
theme: typebot.theme,
settings: typebot.settings,
}))
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [typebot.theme])
}, [typebot.theme, typebot.settings])
const updateVariableValue = (variableId: string, value: string) => {
setLocalTypebot((typebot) => ({