docs: Correct import for custom db example.

This commit is contained in:
Hayden Young 2023-09-07 13:17:28 +01:00
parent c75b805ed1
commit 246660ca89

View File

@ -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()