Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update /docs/pages/quickstarts /react.mdx #372

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/pages/quickstarts/react.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't this the default value in the SDK?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've managed to change it now, it was on 0.0.0.0 by default

```

```bash
cd client
pnpm i
Expand Down