Skip to content

Commit

Permalink
fixed items not displayed after baseurl change
Browse files Browse the repository at this point in the history
  • Loading branch information
CrawlingTug committed Sep 5, 2024
1 parent e68a616 commit 7103040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MinecraftSlot/MinecraftSlot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const MinecraftSlot: React.FC<MinecraftSlotProps> = (props) => {
};

function convertToImageURL(itemName: string) {
return `/citybuild-wiki/img/minecraft-items/minecraft_${itemName}.png`;
return `/img/minecraft-items/minecraft_${itemName}.png`;
}

export default MinecraftSlot;

0 comments on commit 7103040

Please sign in to comment.