Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix[tauri]: remove auto-update toast (#2975)
Peter Chinmanb85bf3e52b14
diff --git a/js/app/packages/app/component/BundleUpdateProgressBar.tsx b/js/app/packages/app/component/BundleUpdateProgressBar.tsxindex d985fd5d58..2257b6d499 100644--- a/js/app/packages/app/component/BundleUpdateProgressBar.tsx+++ b/js/app/packages/app/component/BundleUpdateProgressBar.tsx@@ -1,13 +1,9 @@-import { toast } from '@core/component/Toast/Toast';import { useTauri } from '@macro/tauri';-import { invoke } from '@tauri-apps/api/core';-import { Show, createEffect, createMemo, on } from 'solid-js';+import { Show, createMemo } from 'solid-js';export function BundleUpdateProgressBar() {const tauri = useTauri();- const status = createMemo(() => tauri?.bundleUpdateStatus().status);-const progress = createMemo(() => {const s = tauri?.bundleUpdateStatus();if (!s) return null;@@ -21,22 +17,6 @@ export function BundleUpdateProgressBar() {}});- createEffect(- on(status, (cur, prev) => {- if (prev !== 'Completed' && cur === 'Completed') {- toast.success('Update downloaded', 'Tap to apply update', [- {- label: 'Update',- onClick: () =>- invoke('perform_update').catch((e) =>- console.error('[bundle-update] perform_update failed', e)- ),- },- ]);- }- })- );-return (<Show when={progress() !== null}><div class="w-full h-0.5 bg-surface-2">