Rely on disabled property for disabled styles
This commit is contained in:
parent
d02a3e0861
commit
3a81675737
2 changed files with 1 additions and 2 deletions
|
|
@ -60,7 +60,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
&.Disabled {
|
||||
&:disabled {
|
||||
background-color: var(--button-bg-disabled);
|
||||
color: var(--button-text-disabled);
|
||||
|
||||
|
|
|
|||
|
|
@ -289,7 +289,6 @@ const WeaponModal = (props: Props) => {
|
|||
{props.gridWeapon.object.ax > 0 ? axSelect() : ''}
|
||||
{props.gridWeapon.awakening ? awakeningSelect() : ''}
|
||||
<Button
|
||||
className={!formValid ? 'Disabled' : ''}
|
||||
contained={true}
|
||||
onClick={updateWeapon}
|
||||
disabled={!formValid}
|
||||
|
|
|
|||
Loading…
Reference in a new issue