diff --git a/demo/api/index.ts b/demo/api/index.ts index c88ddf6..eb504af 100644 --- a/demo/api/index.ts +++ b/demo/api/index.ts @@ -24,8 +24,6 @@ const pool = new Pool({ const dbProvider = zeroNodePg(schema, pool); app.post('/zero/query', async c => { - console.log('handling query', {url: c.req.url, method: c.req.method}); - const result = await handleQueryRequest( (name, args) => mustGetQuery(queries, name).fn({args, ctx: {}}), schema, diff --git a/src/react/use-zero-virtualizer.ts b/src/react/use-zero-virtualizer.ts index 788932d..c43fe12 100644 --- a/src/react/use-zero-virtualizer.ts +++ b/src/react/use-zero-virtualizer.ts @@ -134,13 +134,6 @@ export type UseZeroVirtualizerOptions< * like URL query parameters. */ onSettled?: (() => void) | undefined; - - // new temporary API - - // Before we navigate away we will save the current scroll state - saveScrollState?: - | ((state: ScrollHistoryState) => void) - | undefined; }; const createPermalinkAnchor = (id: string) =>