mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-02-27 14:38:11 +00:00
Fix loadStartKey
This commit is contained in:
parent
8140f15098
commit
25f63095a3
@ -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);
|
||||
}
|
||||
},
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user