Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

fix(mac): hide Not now while a retry is running

AdityaUmalea81e35c40aaf
diff --git a/src/components/MacLocalControl.tsx b/src/components/MacLocalControl.tsx
index 7c64678a45..b9857ea83b 100644
--- a/src/components/MacLocalControl.tsx
+++ b/src/components/MacLocalControl.tsx
@@ -107,7 +107,7 @@ export function MacLocalControl() {
{pending && <Loader2 size={13} className="animate-spin" />}
{t("commandAllowlist.retry")}
</button>
- <NotNowButton onClick={hideMacLocalControlUntilRelaunch} />
+ {!pending && <NotNowButton onClick={hideMacLocalControlUntilRelaunch} />}
</div>
</div>
</div>