diff --git a/docs/pages/quickstarts/react.mdx b/docs/pages/quickstarts/react.mdx index 8318c7c3..5879ba26 100644 --- a/docs/pages/quickstarts/react.mdx +++ b/docs/pages/quickstarts/react.mdx @@ -68,6 +68,19 @@ torii --http.cors_origins "*" --world 0x00e2ea9b5dd9804d13903edf712998943b7d5d60 5. Setup client +```bash +# Update client/dojoConfig.ts, replaced by following code. + +import { createDojoConfig } from "@dojoengine/core"; + +import manifest from "../contract/manifest_dev.json"; + +export const dojoConfig = createDojoConfig({ + manifest, +}); +dojoConfig.toriiUrl="http://localhost:8080" +``` + ```bash cd client pnpm i