diff --git a/src/pages/Settings.tsx b/src/pages/Settings.tsx index 06edc65..a87345c 100644 --- a/src/pages/Settings.tsx +++ b/src/pages/Settings.tsx @@ -158,6 +158,7 @@ function GeneralSection() { const disabledActions = usePersistedStore((state) => state.disabledActions) const setDisabledActions = usePersistedStore((state) => state.setDisabledActions) + const [isWorkingUpdate, setIsWorkingUpdate] = useState(false) const [update, setUpdate] = useState(null) useEffect(() => { @@ -330,32 +331,48 @@ function GeneralSection() {
{update ? ( ) : ( )}
@@ -464,7 +494,7 @@ function LicenseSection() { setIsActivating(false) } - await message('Your license has been activated successfully.', { + await message('Your license has been successfully activated.', { title: 'Congrats!', kind: 'info', }) @@ -523,7 +553,7 @@ function LicenseSection() { setIsRevoking(false) } - await message('Your license has been deactivated.', { + await message('Your license has been successfully deactivated.', { title: 'License deactivated', kind: 'info', })