Skip to content

Commit

Permalink
Update fetching-data.mdx (#803)
Browse files Browse the repository at this point in the history
  • Loading branch information
tenuki authored Jul 18, 2024
1 parent ec4beee commit 358885d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/guides/fetching-data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function App() {
</Show>
<Switch>
<Match when={user.error}>
<span>Error: {error()}</span>
<span>Error: {user.error()}</span>
</Match>
<Match when={user()}>
<div>{JSON.stringify(user())}</div>
Expand Down Expand Up @@ -109,7 +109,7 @@ function App() {

<Switch>
<Match when={user.error}>
<span>Error: {error()}</span>
<span>Error: {user.error()}</span>
</Match>
<Match when={user()}>
<div>{JSON.stringify(user())}</div>
Expand Down

0 comments on commit 358885d

Please sign in to comment.