Fix warning 'validateDOMNesting(...)'

This commit is contained in:
草鞋没号 2021-12-08 18:44:25 +08:00
parent c72bfe5fea
commit a6bd956562
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ function App() {
<p> <p>
Edit <code>App.tsx</code> and save to test HMR updates. Edit <code>App.tsx</code> and save to test HMR updates.
</p> </p>
<p> <div>
<a <a
className="App-link" className="App-link"
href="https://reactjs.org" href="https://reactjs.org"
@ -53,7 +53,7 @@ function App() {
Place static files into the public folder Place static files into the public folder
<img style={{ width: 100 }} src="./img/node.png" /> <img style={{ width: 100 }} src="./img/node.png" />
</div> </div>
</p> </div>
</header> </header>
</div> </div>
) )