From e61a9ae7decabb1c34110fdd37e4d9520114a0d1 Mon Sep 17 00:00:00 2001 From: Baku Hashimoto Date: Tue, 10 Oct 2023 01:00:59 +0900 Subject: [PATCH] Update useTethr --- demo/src/useTethr.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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