Skip to content

Commit a007baa

Browse files
authored
Merge pull request evoluhq#561 from TheUltDev/main
Fix react native & expo onboarding docs
2 parents a6d23af + 43c4f8a commit a007baa

File tree

1 file changed

+4
-4
lines changed
  • apps/web/src/app/(docs)/docs/quickstart

1 file changed

+4
-4
lines changed

apps/web/src/app/(docs)/docs/quickstart/page.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ const { insert, update } = useEvolu();
143143
```ts {{ title: 'React Native', language: 'tsx' }}
144144
import { createEvolu, getOrThrow, SimpleName } from "@evolu/common";
145145
import { createUseEvolu, EvoluProvider } from "@evolu/react";
146-
import { evoluSqliteDeps } from "@evolu/react-native/op-sqlite";
146+
import { evoluReactNativeDeps } from "@evolu/react-native/op-sqlite";
147147

148-
const evolu = createEvolu(evoluSqliteDeps)(Schema, {
148+
const evolu = createEvolu(evoluReactNativeDeps)(Schema, {
149149
name: getOrThrow(SimpleName.from("your-app-name")),
150150
syncUrl: "wss://your-sync-url", // optional, defaults to wss://free.evoluhq.com
151151
});
@@ -165,9 +165,9 @@ const { insert, update } = useEvolu();
165165
```ts {{ title: 'Expo', language: 'tsx' }}
166166
import { createEvolu, getOrThrow, SimpleName } from "@evolu/common";
167167
import { createUseEvolu, EvoluProvider } from "@evolu/react";
168-
import { evoluSqliteDeps } from "@evolu/react-native/expo-sqlite";
168+
import { evoluReactNativeDeps } from "@evolu/react-native/expo-sqlite";
169169

170-
const evolu = createEvolu(evoluSqliteDeps)(Schema, {
170+
const evolu = createEvolu(evoluReactNativeDeps)(Schema, {
171171
name: getOrThrow(SimpleName.from("your-app-name")),
172172
syncUrl: "wss://your-sync-url", // optional, defaults to wss://free.evoluhq.com
173173
});

0 commit comments

Comments
 (0)