# React 18 course

**URL:** <https://forum.codewithmosh.com/t/react-18-course/18758>\
**Category:** Uncategorized\
**Created:** [March 14, 2023, 9:17am UTC](https://forum.codewithmosh.com/t/react-18-course/18758 "2023-03-14T09:17:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rimoza](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/rimoza/32/5733_2.png) [@rimoza](https://forum.codewithmosh.com/u/rimoza)\
**Post date:** [March 14, 2023, 9:17am UTC](https://forum.codewithmosh.com/t/react-18-course/18758/1 "2023-03-14T09:17:45Z")

</div>

I am using react-hook-form and I use validation for zod relover, and this is my schema: const schema = z.object({  
name: z.string().min(3, { message: ‘Must be at least 3 characters’ }),  
age: z.number({ invalid\_error\_type: “Age field is requried.” }).min(18, { message: ‘Age must be at least 18’ })  
}); but I got an error invalid\_error\_type: string  
Expected 0 arguments, but got 1.

---

<div class="post-metadata">

**Author:** ![karu](https://avatars.discourse-cdn.com/v4/letter/k/3da27b/32.png) [@karu](https://forum.codewithmosh.com/u/karu)\
**Post date:** [March 14, 2023, 1:57pm UTC](https://forum.codewithmosh.com/t/react-18-course/18758/2 "2023-03-14T13:57:04Z")

</div>

pls explain more and document your question properly

---

<div class="post-metadata">

**Author:** ![twin](https://avatars.discourse-cdn.com/v4/letter/t/85f322/32.png) [@twin](https://forum.codewithmosh.com/u/twin)\
**Post date:** [March 22, 2023, 4:44pm UTC](https://forum.codewithmosh.com/t/react-18-course/18758/3 "2023-03-22T16:44:27Z")

</div>

The video player does not hide the navigation on the side so when I split my screen so that I can code along I’m getting a very small video to watch since there is no way to hide the nvaigations🤦‍♂️
