From 85a8ba744a9a75811b1a56bc47bc4483edd5c462 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Thu, 16 Mar 2023 09:18:11 -0700 Subject: [PATCH] Add granblue_id to weapon keys --- components/WeaponKeySelect/index.tsx | 6 +++++- types/WeaponKey.d.ts | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/components/WeaponKeySelect/index.tsx b/components/WeaponKeySelect/index.tsx index fac77fe8..d1b735d5 100644 --- a/components/WeaponKeySelect/index.tsx +++ b/components/WeaponKeySelect/index.tsx @@ -79,7 +79,11 @@ const WeaponKeySelect = React.forwardRef( keys[index].length > 0 && keys[index].sort(sortByOrder).map((item, i) => { return ( - + {item.name.en} ) diff --git a/types/WeaponKey.d.ts b/types/WeaponKey.d.ts index 95c45ea9..b56221b7 100644 --- a/types/WeaponKey.d.ts +++ b/types/WeaponKey.d.ts @@ -1,5 +1,6 @@ interface WeaponKey { id: string + granblue_id: string name: { [key: string]: string en: string