diff --git a/src/components/PgHooks.tsx b/src/components/PgHooks.tsx index 906cc99..85e1a35 100644 --- a/src/components/PgHooks.tsx +++ b/src/components/PgHooks.tsx @@ -20,6 +20,7 @@ export function usePgProps<T extends TEMPLATE>( pre[propKey] = { ...propMeta, onChange(value: string | boolean) { + console.log(`mutating ${componentName}/${propKey}`); mutate((state) => { state[componentName][propKey].value = value; });