From 710304073f65993b30bff83ab3e12a2fcc61af90 Mon Sep 17 00:00:00 2001 From: CrawlingTug <83224884+CrawlingTug@users.noreply.github.com> Date: Thu, 5 Sep 2024 13:40:35 +0200 Subject: [PATCH] fixed items not displayed after baseurl change --- src/components/MinecraftSlot/MinecraftSlot.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MinecraftSlot/MinecraftSlot.tsx b/src/components/MinecraftSlot/MinecraftSlot.tsx index 6a30fde..e38c070 100644 --- a/src/components/MinecraftSlot/MinecraftSlot.tsx +++ b/src/components/MinecraftSlot/MinecraftSlot.tsx @@ -27,7 +27,7 @@ const MinecraftSlot: React.FC = (props) => { }; function convertToImageURL(itemName: string) { - return `/citybuild-wiki/img/minecraft-items/minecraft_${itemName}.png`; + return `/img/minecraft-items/minecraft_${itemName}.png`; } export default MinecraftSlot;