Update button prop labels

This commit is contained in:
Justin Edmund 2023-06-30 22:19:14 -07:00
parent 4f1bcf5bca
commit a70a8e4a30
4 changed files with 6 additions and 10 deletions

View file

@ -110,13 +110,9 @@ const CharacterConflictModal = (props: Props) => {
</div>
<div className="DialogFooter" ref={footerRef}>
<div className="Buttons Span">
<Button bound={true} onClick={close} text={t('buttons.cancel')} />
<Button
contained={true}
onClick={close}
text={t('buttons.cancel')}
/>
<Button
contained={true}
bound={true}
onClick={props.resolveConflict}
text={t('modals.conflict.buttons.confirm')}
/>

View file

@ -290,7 +290,7 @@ const CharacterModal = ({
</div>
<div className="DialogFooter" ref={footerRef}>
<Button
contained={true}
bound={true}
onClick={handleUpdateCharacter}
disabled={!formValid}
text={t('modals.characters.buttons.confirm')}

View file

@ -63,8 +63,8 @@ const UpdateToast = ({
onCloseClick={handleCloseClicked}
>
<Button
buttonSize="small"
contained={true}
size="small"
bound={true}
onClick={handleButtonClicked}
text={t('toasts.update.button')}
/>

View file

@ -396,7 +396,7 @@ const WeaponModal = ({
<div className="DialogFooter" ref={footerRef}>
<div className="actions">
<Button
contained={true}
bound={true}
onClick={updateWeapon}
disabled={!formValid}
text={t('modals.weapon.buttons.confirm')}