refactor: format imports, fix indentation, and improve readability across files
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:
@@ -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">
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user