fix: incorrect assets path

This commit is contained in:
Tom (plebeius.eth)
2024-06-20 17:02:11 +02:00
parent 70cba59ddf
commit 4cca4a58dd
7 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ const totalBanners = 59;
const ImageBanner = () => {
const [imagePath] = useState(() => {
const randomBannerIndex = Math.floor(Math.random() * totalBanners) + 1;
return `/assets/banners/banner-${randomBannerIndex}.jpg`;
return `assets/banners/banner-${randomBannerIndex}.jpg`;
});
return <img src={imagePath} alt='' />;