Fix bug where the first weapon would not display

This commit is contained in:
Justin Edmund 2022-12-26 00:39:18 -08:00
parent d1bf180a94
commit 272b5157e1

View file

@ -96,7 +96,7 @@ const WeaponGrid = (props: Props) => {
if (props.pushHistory) props.pushHistory(`/p/${party.shortcode}`)
saveWeapon(party.id, weapon, position).then((response) =>
storeGridWeapon(response.data)
storeGridWeapon(response.data.grid_weapon)
)
})
} else {