Skip to content

Commit 772cc7f

Browse files
stuymedovaSofia Tuimedova
andauthored
Fix documentation error (#1197)
Co-authored-by: Sofia Tuimedova <stuimedova@whoosh.bike>
1 parent 03d65bd commit 772cc7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/utilities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const User = object({ ... })
4242
const Bot = object({ ... })
4343

4444
dynamic((value) => {
45-
value.kind === 'user' ? User : Bot
45+
return value.kind === 'user' ? User : Bot
4646
})
4747
```
4848

0 commit comments

Comments
 (0)