Fix bug where the first weapon would not display
This commit is contained in:
parent
d1bf180a94
commit
272b5157e1
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ const WeaponGrid = (props: Props) => {
|
||||||
if (props.pushHistory) props.pushHistory(`/p/${party.shortcode}`)
|
if (props.pushHistory) props.pushHistory(`/p/${party.shortcode}`)
|
||||||
|
|
||||||
saveWeapon(party.id, weapon, position).then((response) =>
|
saveWeapon(party.id, weapon, position).then((response) =>
|
||||||
storeGridWeapon(response.data)
|
storeGridWeapon(response.data.grid_weapon)
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue