attempt to fix img location

This commit is contained in:
Juni
2022-11-08 09:48:41 -05:00
parent c5ab237c13
commit ee2e80563e
6 changed files with 9 additions and 9 deletions

View File

@@ -64,7 +64,7 @@ function App() {
setLoaded(false);
}, [character]);
img.src = "/img/" + characters[character].img;
img.src = "./img/" + characters[character].img;
img.onload = () => {
setLoaded(true);