mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-04-29 07:16:11 +02:00
refactor: don't show useless tooltips
This commit is contained in:
@@ -388,7 +388,9 @@ export function ProfilesDataTable({
|
||||
</Button>
|
||||
</span>
|
||||
</TooltipTrigger>
|
||||
<TooltipContent>{tooltipContent}</TooltipContent>
|
||||
{tooltipContent && (
|
||||
<TooltipContent>{tooltipContent}</TooltipContent>
|
||||
)}
|
||||
</Tooltip>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -164,7 +164,7 @@ export function useBrowserState(
|
||||
const isBrowserUpdating = isUpdating?.(profile.browser) ?? false;
|
||||
|
||||
if (isRunning) {
|
||||
return "Click to forcefully stop the browser";
|
||||
return "";
|
||||
}
|
||||
|
||||
if (isBrowserUpdating) {
|
||||
@@ -180,7 +180,7 @@ export function useBrowserState(
|
||||
return `Only one ${browserDisplayName} browser instance can run at a time. Stop the running ${browserDisplayName} browser first.`;
|
||||
}
|
||||
|
||||
return "Click to launch the browser";
|
||||
return "";
|
||||
},
|
||||
[
|
||||
runningProfiles,
|
||||
|
||||
Reference in New Issue
Block a user