Skip to content

Commit 5327bc1

Browse files
authored
Fix import paths to use node module
1 parent ca6443d commit 5327bc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-duckdb/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Wrap your application or the components that need access to the DuckDB database
1616

1717
```ts
1818
import React from 'react';
19-
import { DuckDBProvider } from './duckdb_provider';
19+
import { DuckDBProvider } from '@duckdb/react-duckdb';
2020

2121
const DUCKDB_BUNDLES: DuckDBBundles = {
2222
mvp: {
@@ -47,7 +47,7 @@ To access the DuckDB database instance and establish connections, use the `useDu
4747

4848
```ts
4949
import React from 'react';
50-
import { useDuckDB } from './duckdb_provider';
50+
import { useDuckDB } from '@duckdb/react-duckdb';
5151

5252
function MyComponent() {
5353
const { database, connection, isConnecting } = useDuckDB();

0 commit comments

Comments
 (0)