chore(format): add prettier-plugin-organize-imports and sort imports

This commit is contained in:
zetaloop
2026-02-25 15:34:33 +08:00
parent d4a0765cad
commit 2d42473910
88 changed files with 266 additions and 246 deletions
+14 -14
View File
@@ -1,19 +1,5 @@
"use client"
import {
Bell,
Gamepad2,
LogOut,
Menu,
MessageSquare,
Settings,
ShoppingBag,
User,
Wallet,
} from "lucide-react"
import Link from "next/link"
import { usePathname, useRouter } from "next/navigation"
import { useState } from "react"
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"
import { Badge } from "@/components/ui/badge"
import { Button } from "@/components/ui/button"
@@ -32,6 +18,20 @@ import { cn } from "@/lib/utils"
import { useAuthStore } from "@/store/auth"
import { useNotificationStore } from "@/store/notifications"
import { useShopStore } from "@/store/shops"
import {
Bell,
Gamepad2,
LogOut,
Menu,
MessageSquare,
Settings,
ShoppingBag,
User,
Wallet,
} from "lucide-react"
import Link from "next/link"
import { usePathname, useRouter } from "next/navigation"
import { useState } from "react"
import { canAccessDashboard } from "@/components/role-guard"