Skip to content

Commit d7419e2

Browse files
[Content]: Fix misstyped parenthesis (#712)
1 parent e401b1f commit d7419e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/guides/fetching-data.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Whenever the signal value, `userId`, changes, the internal fetch method `fetchUs
7373
The properties of the `user` resource allow for conditional rendering based on the different states of the fetch process.
7474

7575
The `Switch/Match` construct provides one way to manage these conditions.
76-
When the fetch succeeds and user data is retrieved, the `user(`) condition becomes active, and its related block executes.
76+
When the fetch succeeds and user data is retrieved, the `user()` condition becomes active, and its related block executes.
7777
However, if there's an error while fetching, the `user.error` block becomes `true`, leading to its corresponding `Match` block being shown.
7878

7979
In addition to the `error` property, the `loading` property offers a way to display a loading state to the user during the fetch operation.

0 commit comments

Comments
 (0)