Lint error (input-otp) #3367
-
Hi, Im pretty new to coding and recently added all the shadcn components to my project. It was linting fine before adding the input-otp Being a total noob I have no idea how to correct this. Where's the SlotProps type located ? Is that normal ? Is my "lint" ok ? |
Beta Was this translation helpful? Give feedback.
Answered by
tomyroydotcom
Apr 5, 2024
Replies: 1 comment
-
So it threw the error because it COULD'VE been undefined. Fixing it by adding an error handling removes the error. This is probably something really minimal and not needed for most I guess |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tomyroydotcom
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So it threw the error because it COULD'VE been undefined.
Fixing it by adding an error handling removes the error.
instead of
This is probably something really minimal and not needed for most I guess