diff --git a/frontend-react/src/components/common/WeaponImage.tsx b/frontend-react/src/components/common/WeaponImage.tsx index 64a96c063..c358697fd 100644 --- a/frontend-react/src/components/common/WeaponImage.tsx +++ b/frontend-react/src/components/common/WeaponImage.tsx @@ -1,8 +1,7 @@ -import React, { ElementType } from "react" +import React from "react" import english_internal from "../../utils/english_internal.json" import { wpnSmall, wpnMedium } from "../../assets/imageImports" -import { weapons } from "../../utils/lists.js" import { Weapon } from "../../types.js" interface WeaponImageProps { @@ -12,7 +11,9 @@ interface WeaponImageProps { const WeaponImage: React.FC = ({ englishName, size }) => { const dictToUse: any = size === "MEDIUM" ? wpnMedium : wpnSmall - return + return ( + {englishName} + ) } export default WeaponImage