mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-24 04:22:10 -05:00
fix bad import
This commit is contained in:
parent
8d0f08517d
commit
6c8a5963a0
|
|
@ -1,7 +1,7 @@
|
|||
import { Select, Tag, TagCloseButton, TagLabel } from "@chakra-ui/react";
|
||||
import { t } from "@lingui/macro";
|
||||
import { useLingui } from "@lingui/react";
|
||||
import { weaponsWithHeroCategorizedLocalized } from "lib/lists/weaponsWithHero";
|
||||
import { weaponsWithHeroCategorized } from "lib/lists/weaponsWithHero";
|
||||
import WeaponImage from "./WeaponImage";
|
||||
|
||||
interface Props {
|
||||
|
|
@ -26,7 +26,7 @@ const MultiWeaponSelector: React.FC<Props> = ({ name, value, onChange }) => {
|
|||
<option hidden value="">
|
||||
{t`Select weapon`}
|
||||
</option>
|
||||
{weaponsWithHeroCategorizedLocalized.map((wpnCategory) => (
|
||||
{weaponsWithHeroCategorized.map((wpnCategory) => (
|
||||
<optgroup key={wpnCategory.name} label={i18n._(wpnCategory.name)}>
|
||||
{wpnCategory.weapons.map((wpn) => (
|
||||
<option key={wpn} value={wpn}>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user