chore: formatting

This commit is contained in:
zhom
2025-08-13 08:35:58 +04:00
parent dab5ab5805
commit 8ac077d81b
+4 -4
View File
@@ -35,7 +35,7 @@ const HomeHeader = ({
onImportProfileDialogOpen, onImportProfileDialogOpen,
onCreateProfileDialogOpen, onCreateProfileDialogOpen,
}: Props) => { }: Props) => {
const _handleLogoClick = () => { const handleLogoClick = () => {
// Trigger the same URL handling logic as if the URL came from the system // Trigger the same URL handling logic as if the URL came from the system
const event = new CustomEvent("url-open-request", { const event = new CustomEvent("url-open-request", {
detail: "https://donutbrowser.com", detail: "https://donutbrowser.com",
@@ -44,17 +44,17 @@ const HomeHeader = ({
}; };
return ( return (
<div className="flex justify-between items-center"> <div className="flex justify-between items-center">
<div className="flex items-center gap-3"> <div className="flex gap-3 items-center">
<button <button
type="button" type="button"
className="p-1 cursor-pointer" className="p-1 cursor-pointer"
title="Open donutbrowser.com" title="Open donutbrowser.com"
onClick={_handleLogoClick} onClick={handleLogoClick}
> >
<Logo className="w-10 h-10 transition-transform duration-300 ease-out will-change-transform hover:scale-110" /> <Logo className="w-10 h-10 transition-transform duration-300 ease-out will-change-transform hover:scale-110" />
</button> </button>
{selectedProfiles.length > 0 ? ( {selectedProfiles.length > 0 ? (
<div className="flex items-center gap-3"> <div className="flex gap-3 items-center">
<span className="text-sm font-medium"> <span className="text-sm font-medium">
{selectedProfiles.length} profile {selectedProfiles.length} profile
{selectedProfiles.length !== 1 ? "s" : ""} selected {selectedProfiles.length !== 1 ? "s" : ""} selected