mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00
docs: Correct import for custom db example.
This commit is contained in:
parent
c75b805ed1
commit
246660ca89
@ -265,7 +265,7 @@ To use a custom database, add it to the list of supported database types:
|
||||
|
||||
```js
|
||||
import { createOrbitDB, useDatabaseType } from '@orbitdb/core'
|
||||
import { CustomDB } from './custom-db.js'
|
||||
import CustomDB from './custom-db.js'
|
||||
|
||||
useDatabaseType(CustomDB)
|
||||
const orbitdb = await createOrbitDB()
|
||||
|
Loading…
x
Reference in New Issue
Block a user