Skip to content

Commit

Permalink
chore(create-vite): remove wrapper div for react template (#12867)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluepower authored Apr 19, 2023
1 parent 3334660 commit 3679bd7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/create-vite/template-react-ts/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function App() {
const [count, setCount] = useState(0)

return (
<div>
<>
<div>
<a href="https://vitejs.dev" target="_blank">
<img src={viteLogo} className="logo" alt="Vite logo" />
Expand All @@ -28,7 +28,7 @@ function App() {
<p className="read-the-docs">
Click on the Vite and React logos to learn more
</p>
</div>
</>
)
}

Expand Down
4 changes: 2 additions & 2 deletions packages/create-vite/template-react/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function App() {
const [count, setCount] = useState(0)

return (
<div>
<>
<div>
<a href="https://vitejs.dev" target="_blank">
<img src={viteLogo} className="logo" alt="Vite logo" />
Expand All @@ -28,7 +28,7 @@ function App() {
<p className="read-the-docs">
Click on the Vite and React logos to learn more
</p>
</div>
</>
)
}

Expand Down

0 comments on commit 3679bd7

Please sign in to comment.