Fix uncap level display bug
This bug was caused primarily by us using the wrong key in the type definition.
This commit is contained in:
parent
0dbcc7854b
commit
41f6dcb615
2 changed files with 3 additions and 3 deletions
|
|
@ -65,9 +65,9 @@ const WeaponUnit = (props: Props) => {
|
||||||
type="weapon"
|
type="weapon"
|
||||||
ulb={weapon?.uncap.ulb || false}
|
ulb={weapon?.uncap.ulb || false}
|
||||||
flb={weapon?.uncap.flb || false}
|
flb={weapon?.uncap.flb || false}
|
||||||
uncapLevel={props.gridWeapon?.uncapLevel!}
|
|
||||||
updateUncap={passUncapData}
|
updateUncap={passUncapData}
|
||||||
/>
|
/>
|
||||||
|
uncapLevel={gridWeapon.uncap_level}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|
|
||||||
4
types/GridWeapon.d.ts
vendored
4
types/GridWeapon.d.ts
vendored
|
|
@ -1,7 +1,7 @@
|
||||||
interface GridWeapon {
|
interface GridWeapon {
|
||||||
id: string
|
id: string
|
||||||
mainhand: boolean
|
mainhand: boolean
|
||||||
position: number | null
|
position: number
|
||||||
weapon: Weapon
|
weapon: Weapon
|
||||||
uncapLevel: number | null
|
uncap_level: number
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue