Skip to content

Commit 26f95d9

Browse files
jpslavkatieklein
andauthored
Import default export of ExpoSQLiteAdapter (aws-amplify#5020)
* Import default export of ExpoSQLiteAdapter * nothing commit to trigger required checks --------- Co-authored-by: Katie Goines <[email protected]>
1 parent b7ea50f commit 26f95d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fragments/lib/datastore/react-native/getting-started/30_platformIntegration.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Then configure the SQLite storage adapter with DataStore in your app:
8181

8282
```js
8383
import { DataStore } from 'aws-amplify';
84-
import { ExpoSQLiteAdapter } from '@aws-amplify/datastore-storage-adapter/ExpoSQLiteAdapter';
84+
import ExpoSQLiteAdapter from '@aws-amplify/datastore-storage-adapter/ExpoSQLiteAdapter';
8585

8686
DataStore.configure({
8787
storageAdapter: ExpoSQLiteAdapter
@@ -95,4 +95,4 @@ Disable custom primary key in `amplify/cli.json` by setting `graphQLTransformer.
9595

9696
</Callout>
9797
</Block>
98-
</BlockSwitcher>
98+
</BlockSwitcher>

0 commit comments

Comments
 (0)