Skip to content

Commit 8ec51f9

Browse files
committed
fix rebase mess
1 parent 5d22df8 commit 8ec51f9

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

src/datasource/graphene/frontend.ts

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1999,16 +1999,6 @@ class GrapheneGraphServerInterface {
19991999
async getRoot(segment: bigint, timestamp = 0) {
20002000
const timestampEpoch = timestamp / 1000;
20012001
const { fetchOkImpl, baseUrl } = this.httpSource;
2002-
const response = await fetchOkImpl(`${baseUrl}/oldest_timestamp`).then(
2003-
(response) => response.json(),
2004-
);
2005-
const isoString = verifyObjectProperty(response, "iso", verifyString);
2006-
return new Date(isoString).valueOf();
2007-
}
2008-
2009-
async getRoot(segment: Uint64, timestamp = 0) {
2010-
const timestampEpoch = timestamp / 1000;
2011-
const { fetchOkImpl, baseUrl } = this.httpSource;
20122002

20132003
const jsonResp = await withErrorMessageHTTP(
20142004
fetchOkImpl(
@@ -2545,18 +2535,6 @@ const addSelection = (
25452535
selection.annotationReference = ref;
25462536
};
25472537

2548-
const synchronizeAnnotationSource = (
2549-
source: WatchableSet<SegmentSelection>,
2550-
state: AnnotationLayerState,
2551-
) => {
2552-
const annotationSource = state.source;
2553-
annotationSource.childDeleted.add((annotationId) => {
2554-
const selection = [...source].find(
2555-
(selection) => selection.annotationReference?.id === annotationId,
2556-
);
2557-
if (selection) source.delete(selection);
2558-
});
2559-
25602538
const synchronizeAnnotationSource = (
25612539
source: WatchableSet<SegmentSelection>,
25622540
state: AnnotationLayerState,

0 commit comments

Comments
 (0)