Skip to content

Commit 86809c8

Browse files
committed
update
1 parent 3fab4e4 commit 86809c8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

chartlets.js/packages/lib/src/actions/handleHostStoreChange.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ const getCallbackRequest = (
8888
const contribPoint: string = propertyRef.contribPoint;
8989
const contribIndex: number = propertyRef.contribIndex;
9090
const callbackIndex: number = propertyRef.callbackIndex;
91-
const inputIndex: number = propertyRef.inputIndex;
9291
const contributions = contributionsRecord[contribPoint];
9392
const contribution = contributions[contribIndex];
9493
const callback = contribution.callbacks![callbackIndex];
@@ -100,7 +99,7 @@ const getCallbackRequest = (
10099

101100
const inputValues = memoizedInputValues(_inputValues);
102101

103-
const callbackId = `${contribPoint}-${contribIndex}-${callbackIndex}-${inputIndex}`;
102+
const callbackId = `${contribPoint}-${contribIndex}-${callbackIndex}`;
104103
if (lastCallbackInputValues) {
105104
const lastInputValues = lastCallbackInputValues[callbackId];
106105
if (lastInputValues && shallowEqualArrays(lastInputValues, inputValues)) {

0 commit comments

Comments
 (0)