2
0

feat(editor): ️ Add 'Current' to Link typebot

This commit is contained in:
Baptiste Arnaud
2022-03-25 14:59:40 +01:00
parent d06cbeac73
commit fb60dcf5ff
8 changed files with 29 additions and 12 deletions

View File

@ -25,12 +25,13 @@ export const SmartNumberInput = ({
process.env.NEXT_PUBLIC_E2E_TEST ? 0 : debounceTimeout
)
useEffect(() => {
return () => {
useEffect(
() => () => {
debounced.flush()
}
},
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [])
[]
)
const handleValueChange = (value: string) => {
setCurrentValue(value)