fix(ui): drop the git clone hints from Git identity and the background toast on closing the update dialog

This commit is contained in:
2026-10-26 14:22:18 +07:00
parent 6b602c76b8
commit cc2ece94c3
7 changed files with 2 additions and 38 deletions
+1 -2
View File
@@ -260,9 +260,8 @@ export function UpdateNotifier() {
// poll that reloads the page keep running, and a failure re-opens it.
const closeForNow = useCallback(() => {
if (!dismissKey) return;
if (applying || restarting) toast.info(t("backgroundNote"));
setClosedKey(dismissKey);
}, [applying, restarting, dismissKey, t]);
}, [dismissKey]);
const dismiss = useCallback(() => {
if (busy || !dismissKey) return;