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

main
megumin 2 years ago committed by GitHub
parent 0239bb0aac
commit 9f7ec0aa8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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>

Loading…
Cancel
Save