I fixed the issue where a compile error was occurring because null was being specified for htmlFor.
The type of htmlFor is string | undefined. Please refer to @types/react for more information.
⛳️ Current behavior (updates)
🚀 New behavior
I removed htmlFor to prevent the compile error from occurring.
💣 Is this a breaking change (Yes/No):
No
📝 Additional Information
If it is preferred to explicitly specify undefined, please let me know.
📝 Description
I fixed the issue where a compile error was occurring because null was being specified for
htmlFor
. The type ofhtmlFor
isstring | undefined
. Please refer to @types/react for more information.⛳️ Current behavior (updates)
🚀 New behavior
I removed htmlFor to prevent the compile error from occurring.
💣 Is this a breaking change (Yes/No):
No
📝 Additional Information
If it is preferred to explicitly specify
undefined
, please let me know.