Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore(create-vite): remove wrapper div for react template
  • Loading branch information
bluepower committed Apr 14, 2023
commit fdc589545df38dbaf31220b3c222d7d205cbd4c6
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