From fa142a8cb0aac94a4e0e8d36f34cca1ec5b1bb54 Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Thu, 7 Aug 2025 04:17:01 +0400 Subject: [PATCH] refactor: don\'t allow camoufox to open links inside running instances --- src/components/profile-selector-dialog.tsx | 12 ------------ src/hooks/use-browser-state.ts | 9 +++++++++ 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/src/components/profile-selector-dialog.tsx b/src/components/profile-selector-dialog.tsx index 75a6a2c..b8d8431 100644 --- a/src/components/profile-selector-dialog.tsx +++ b/src/components/profile-selector-dialog.tsx @@ -239,8 +239,6 @@ export function ProfileSelectorDialog({ {profiles.map((profile) => { const isRunning = runningProfiles.has(profile.name); - const isLaunching = launchingProfiles.has(profile.name); - const isStopping = stoppingProfiles.has(profile.name); const canUseForLinks = browserState.canUseProfileForLinks(profile); const tooltipContent = getProfileTooltipContent(profile); @@ -289,16 +287,6 @@ export function ProfileSelectorDialog({ Running )} - {isLaunching && ( - - Launching - - )} - {isStopping && ( - - Stopping - - )} {!canUseForLinks && (