From 1292f7bf0c75fc7c6c75a3c7ee031862525c02db Mon Sep 17 00:00:00 2001 From: Rafal Wojdyla Date: Fri, 26 Jan 2024 16:49:55 +0100 Subject: [PATCH] Remove unused imports --- packages/react-duckdb/src/connection_provider.tsx | 1 - packages/react-duckdb/src/database_provider.tsx | 4 ++-- packages/react-duckdb/src/platform_provider.tsx | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/react-duckdb/src/connection_provider.tsx b/packages/react-duckdb/src/connection_provider.tsx index f6a356159..8119cbda8 100644 --- a/packages/react-duckdb/src/connection_provider.tsx +++ b/packages/react-duckdb/src/connection_provider.tsx @@ -2,7 +2,6 @@ import React from 'react'; import * as imm from 'immutable'; import * as duckdb from '@duckdb/duckdb-wasm'; import { useDuckDB, useDuckDBResolver } from './database_provider'; -import { ResolvableStatus } from './resolvable'; type DialerFn = (id?: number) => void; diff --git a/packages/react-duckdb/src/database_provider.tsx b/packages/react-duckdb/src/database_provider.tsx index 4e18423f1..39e9fa97f 100644 --- a/packages/react-duckdb/src/database_provider.tsx +++ b/packages/react-duckdb/src/database_provider.tsx @@ -1,7 +1,7 @@ import React, { ReactElement } from 'react'; import * as duckdb from '@duckdb/duckdb-wasm'; -import { useDuckDBLogger, useDuckDBBundle, useDuckDBBundleResolver } from './platform_provider'; -import { Resolvable, Resolver, ResolvableStatus } from './resolvable'; +import { useDuckDBLogger, useDuckDBBundleResolver } from './platform_provider'; +import { Resolvable, Resolver } from './resolvable'; const setupCtx = React.createContext | null>(null); const resolverCtx = React.createContext | null>(null); diff --git a/packages/react-duckdb/src/platform_provider.tsx b/packages/react-duckdb/src/platform_provider.tsx index 4058034b8..a96d0b93b 100644 --- a/packages/react-duckdb/src/platform_provider.tsx +++ b/packages/react-duckdb/src/platform_provider.tsx @@ -1,6 +1,6 @@ import React from 'react'; import * as duckdb from '@duckdb/duckdb-wasm'; -import { Resolvable, Resolver, ResolvableStatus } from './resolvable'; +import { Resolvable, Resolver } from './resolvable'; type PlatformProps = { children: React.ReactElement | React.ReactElement[];