Skip to content

Commit f7742e7

Browse files
committed
fix: use vite.svg from public folder to fix CI build
1 parent e180f11 commit f7742e7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/App.jsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { useState } from 'react'
2-
import reactLogo from './assets/react.svg'
3-
import viteLogo from '/vite.svg'
2+
import reactLogo from './assets/react.svg' // ✅ this is fine
43
import './App.css'
54

65
function App() {
@@ -10,7 +9,7 @@ function App() {
109
<>
1110
<div>
1211
<a href="https://vite.dev" target="_blank">
13-
<img src={viteLogo} className="logo" alt="Vite logo" />
12+
<img src="/vite.svg" className="logo" alt="Vite logo" /> {/* ✅ changed here */}
1413
</a>
1514
<a href="https://react.dev" target="_blank">
1615
<img src={reactLogo} className="logo react" alt="React logo" />

0 commit comments

Comments
 (0)