Fix warning 'validateDOMNesting(...)'

This commit is contained in:
草鞋没号 committed 2021-12-08 18:44:25 +08:00
1 parent c72bfe5fea
commit a6bd956562
1 file changed
+2 -2
+2 -2
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>
)