Skip to content

Multiple typos and code fixes#2

Open
aleksandr-vin wants to merge 5 commits into
craigmckeachie:mainfrom
aleksandr-vin:main
Open

Multiple typos and code fixes#2
aleksandr-vin wants to merge 5 commits into
craigmckeachie:mainfrom
aleksandr-vin:main

Conversation

@aleksandr-vin

Copy link
Copy Markdown

No description provided.

Error message:
```
TS2322: Type 'MutableRefObject<HTMLInputElement | undefined>' is not assignable to type 'LegacyRef<HTMLInputElement> | undefined'.
  Type 'MutableRefObject<HTMLInputElement | undefined>' is not assignable to type 'RefObject<HTMLInputElement>'.
    Types of property 'current' are incompatible.
      Type 'HTMLInputElement | undefined' is not assignable to type 'HTMLInputElement | null'.
        Type 'undefined' is not assignable to type 'HTMLInputElement | null'.
    15 |       <label>
    16 |         Upload file:
  > 17 |         <input type="file" ref={fileInput} />
```
@vercel

vercel Bot commented Mar 23, 2022

Copy link
Copy Markdown

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/craigmckeachie/handsonreact-com/9UaX1ftEtfB2xk72RCyQGa5zL3K9
✅ Preview: https://handsonreact-com-git-fork-aleksandr-vin-main-craigmckeachie.vercel.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant