Skip to content

Commit 2281c66

Browse files
authored
Update converting-from-js.mdx
No longer need the (. to uncurry in some of the examples.
1 parent b6b5203 commit 2281c66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/docs/manual/latest/converting-from-js.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ let queryResult = (usePayload, payload) => {
174174
if usePayload {
175175
payload["student"]
176176
} else {
177-
school["getStudentById"](. defaultId)
177+
school["getStudentById"](defaultId)
178178
}
179179
}
180180
```
@@ -196,7 +196,7 @@ let queryResult = (usePayload, payload) => {
196196
if usePayload {
197197
payload["student"]
198198
} else {
199-
school["getStudentById"](. defaultId)
199+
school["getStudentById"](defaultId)
200200
}
201201
}
202202
```

0 commit comments

Comments
 (0)