refactor: format imports, fix indentation, and improve readability across files
Some checks failed
Backend Tests / test (push) Has been cancelled
Lint / lint (push) Has been cancelled

Apply consistent import ordering and indentation in frontend and backend files. Ensure better maintainability and adherence to code style standards.
This commit is contained in:
Mathis HERRIOT
2026-01-14 21:06:38 +01:00
parent a4ce48a91c
commit 975e29dea1
8 changed files with 39 additions and 12 deletions

View File

@@ -159,7 +159,9 @@ export function AppSidebar() {
<SidebarMenuItem>
<SidebarMenuButton
asChild
isActive={pathname === "/profile" && searchParams.get("tab") === "favorites"}
isActive={
pathname === "/profile" && searchParams.get("tab") === "favorites"
}
tooltip="Mes Favoris"
>
<Link href="/profile?tab=favorites">
@@ -171,7 +173,9 @@ export function AppSidebar() {
<SidebarMenuItem>
<SidebarMenuButton
asChild
isActive={pathname === "/profile" && searchParams.get("tab") === "memes"}
isActive={
pathname === "/profile" && searchParams.get("tab") === "memes"
}
tooltip="Mes Mèmes"
>
<Link href="/profile?tab=memes">

View File

@@ -29,9 +29,7 @@ export function UserNavMobile() {
<Link href="/profile">
<Avatar className="h-8 w-8 border">
<AvatarImage src={user.avatarUrl} alt={user.username} />
<AvatarFallback>
{user.username.slice(0, 2).toUpperCase()}
</AvatarFallback>
<AvatarFallback>{user.username.slice(0, 2).toUpperCase()}</AvatarFallback>
</Avatar>
</Link>
</Button>