Skip to content

Commit 51ba7e4

Browse files
committed
fix useCallback dep
1 parent 5fce033 commit 51ba7e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chartlets.js/src/lib/hooks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export function useSignalListeners(
8989
});
9090
}
9191
},
92-
[id, onChange],
92+
[id, onChange, type],
9393
);
9494

9595
/*

0 commit comments

Comments
 (0)