Skip to content

Commit cd2c638

Browse files
committed
🎨 Format
1 parent c65c05d commit cd2c638

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

frontend/src/components/Common/Logo.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,18 @@ export function Logo({
3030
<img
3131
src={fullLogo}
3232
alt="FastAPI"
33-
className={cn("h-6 w-auto group-data-[collapsible=icon]:hidden", className)}
33+
className={cn(
34+
"h-6 w-auto group-data-[collapsible=icon]:hidden",
35+
className,
36+
)}
3437
/>
3538
<img
3639
src={iconLogo}
3740
alt="FastAPI"
38-
className={cn("size-5 hidden group-data-[collapsible=icon]:block", className)}
41+
className={cn(
42+
"size-5 hidden group-data-[collapsible=icon]:block",
43+
className,
44+
)}
3945
/>
4046
</>
4147
) : (

frontend/src/components/Sidebar/User.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,7 @@ export function User({ user }: { user: any }) {
8585
User Settings
8686
</DropdownMenuItem>
8787
</RouterLink>
88-
<DropdownMenuItem
89-
onClick={handleLogout}
90-
>
88+
<DropdownMenuItem onClick={handleLogout}>
9189
<LogOut />
9290
Log Out
9391
</DropdownMenuItem>

frontend/src/routes/_layout/settings.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ function UserSettings() {
2828

2929
return (
3030
<div>
31-
<h1 className="text-2xl font-bold">
32-
User Settings
33-
</h1>
31+
<h1 className="text-2xl font-bold">User Settings</h1>
3432

3533
<Tabs defaultValue="my-profile">
3634
<TabsList>

0 commit comments

Comments
 (0)