Skip to content

Commit

Permalink
fix(svg): rename
Browse files Browse the repository at this point in the history
  • Loading branch information
itayB committed Apr 2, 2024
1 parent bf73076 commit f9c4ad5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,9 @@ dist-ssr
*.njsproj
*.sln
*.sw?

# Python packaging stuff
setup.py
tmp
venv
vite_project.egg-info
File renamed without changes
5 changes: 2 additions & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useEffect, useState } from 'react'
import reactLogo from './assets/react.svg'
import viteLogo from '/vite.svg'
import viteLogo from '/static/vite.svg'
import fastapiLogo from '/static/fastapi.svg';
import './App.css'

Expand All @@ -17,9 +17,8 @@ function App() {
try {
status = await response.json();
} catch (err) {
console.log(err);
console.log(`failed to get backend status. ${err}`);
}
console.log(status);
setHealth(status['status'] || 'unknown');
};
getStatus();
Expand Down

0 comments on commit f9c4ad5

Please sign in to comment.