Fix loadStartKey

This commit is contained in:
Laurent Nguyen 2024-04-22 16:23:38 +02:00
parent 8140f15098
commit 25f63095a3

View File

@ -353,7 +353,7 @@ const DocumentsTabComponent: React.FunctionComponent<{
}, },
onLoadStartKey, onLoadStartKey,
); );
setOnLoadStartKey(null); setOnLoadStartKey(undefined);
} }
} }
} }
@ -825,7 +825,7 @@ const DocumentsTabComponent: React.FunctionComponent<{
}, },
onLoadStartKey, onLoadStartKey,
); );
setOnLoadStartKey(null); setOnLoadStartKey(undefined);
} }
}, },
(error) => { (error) => {
@ -846,7 +846,7 @@ const DocumentsTabComponent: React.FunctionComponent<{
}, },
onLoadStartKey, onLoadStartKey,
); );
setOnLoadStartKey(null); setOnLoadStartKey(undefined);
} }
}, },
) )
@ -1423,7 +1423,7 @@ const DocumentsTabComponent: React.FunctionComponent<{
_onLoadStartKey, _onLoadStartKey,
); );
// TODO: Set on Load start key to null to stop telemetry traces // TODO: Set on Load start key to null to stop telemetry traces
// this.onLoadStartKey = null; setOnLoadStartKey(null);
} }
}, },
(error: any) => { (error: any) => {
@ -1442,7 +1442,7 @@ const DocumentsTabComponent: React.FunctionComponent<{
_onLoadStartKey, _onLoadStartKey,
); );
// TODO: Set on Load start key to null to stop telemetry traces // TODO: Set on Load start key to null to stop telemetry traces
// this.onLoadStartKey = null; setOnLoadStartKey(undefined);
} }
}, },
) )