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