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>
<div className="DialogFooter" ref={footerRef}> <div className="DialogFooter" ref={footerRef}>
<div className="Buttons Span"> <div className="Buttons Span">
<Button bound={true} onClick={close} text={t('buttons.cancel')} />
<Button <Button
contained={true} bound={true}
onClick={close}
text={t('buttons.cancel')}
/>
<Button
contained={true}
onClick={props.resolveConflict} onClick={props.resolveConflict}
text={t('modals.conflict.buttons.confirm')} text={t('modals.conflict.buttons.confirm')}
/> />

View file

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

View file

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

View file

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