diff --git a/demo/src/useTethr.ts b/demo/src/useTethr.ts index c91a6ee..04c2ca8 100644 --- a/demo/src/useTethr.ts +++ b/demo/src/useTethr.ts @@ -48,7 +48,7 @@ export function useTethrConfig( config.update = (value: ConfigType[N]) => cam.set(name, value) - cam.on(`${name}Changed` as any, (desc: ConfigDesc) => { + cam.on(`${name}Change` as any, (desc: ConfigDesc) => { config.value = desc.value config.writable = desc.writable config.option = desc.option