From 9f7ec0aa8d870584285d5ecf8c3d8a4262671049 Mon Sep 17 00:00:00 2001 From: megumin Date: Tue, 22 Nov 2022 22:05:46 +0000 Subject: [PATCH] settings: better button text for plugin settings modal (#251) --- src/components/PluginSettings/PluginModal.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/PluginSettings/PluginModal.tsx b/src/components/PluginSettings/PluginModal.tsx index 592b6cb9..7331fffa 100644 --- a/src/components/PluginSettings/PluginModal.tsx +++ b/src/components/PluginSettings/PluginModal.tsx @@ -214,7 +214,7 @@ export default function PluginModal({ plugin, onRestartNeeded, onClose, transiti size={Button.Sizes.SMALL} color={Button.Colors.RED} > - Exit Without Saving + Cancel {({ onMouseEnter, onMouseLeave }) => ( @@ -226,7 +226,7 @@ export default function PluginModal({ plugin, onRestartNeeded, onClose, transiti onMouseLeave={onMouseLeave} disabled={!canSubmit()} > - Save & Exit + Save & Close )}