diff --git a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx index 54c7e2fea..234d8f08c 100644 --- a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx +++ b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx @@ -353,7 +353,7 @@ const DocumentsTabComponent: React.FunctionComponent<{ }, onLoadStartKey, ); - setOnLoadStartKey(null); + setOnLoadStartKey(undefined); } } } @@ -825,7 +825,7 @@ const DocumentsTabComponent: React.FunctionComponent<{ }, onLoadStartKey, ); - setOnLoadStartKey(null); + setOnLoadStartKey(undefined); } }, (error) => { @@ -846,7 +846,7 @@ const DocumentsTabComponent: React.FunctionComponent<{ }, onLoadStartKey, ); - setOnLoadStartKey(null); + setOnLoadStartKey(undefined); } }, ) @@ -1423,7 +1423,7 @@ const DocumentsTabComponent: React.FunctionComponent<{ _onLoadStartKey, ); // TODO: Set on Load start key to null to stop telemetry traces - // this.onLoadStartKey = null; + setOnLoadStartKey(null); } }, (error: any) => { @@ -1442,7 +1442,7 @@ const DocumentsTabComponent: React.FunctionComponent<{ _onLoadStartKey, ); // TODO: Set on Load start key to null to stop telemetry traces - // this.onLoadStartKey = null; + setOnLoadStartKey(undefined); } }, ) @@ -1456,12 +1456,12 @@ const DocumentsTabComponent: React.FunctionComponent<{