settings: better button text for plugin settings modal (#251)

This commit is contained in:
megumin 2022-11-22 22:05:46 +00:00 committed by GitHub
parent 0239bb0aac
commit 9f7ec0aa8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -214,7 +214,7 @@ export default function PluginModal({ plugin, onRestartNeeded, onClose, transiti
size={Button.Sizes.SMALL}
color={Button.Colors.RED}
>
Exit Without Saving
Cancel
</Button>
<Tooltip text="You must fix all errors before saving" shouldShow={!canSubmit()}>
{({ onMouseEnter, onMouseLeave }) => (
@ -226,7 +226,7 @@ export default function PluginModal({ plugin, onRestartNeeded, onClose, transiti
onMouseLeave={onMouseLeave}
disabled={!canSubmit()}
>
Save & Exit
Save & Close
</Button>
)}
</Tooltip>