chore(format): add prettier-plugin-organize-imports and sort imports
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
"use client"
|
||||
|
||||
import { usePathname, useRouter } from "next/navigation"
|
||||
import { useEffect } from "react"
|
||||
import { ownerLinks, playerLinks } from "@/components/dashboard-sidebar"
|
||||
import type { UserRole } from "@/lib/types"
|
||||
import { useAuthStore } from "@/store/auth"
|
||||
import { usePathname, useRouter } from "next/navigation"
|
||||
import { useEffect } from "react"
|
||||
|
||||
const dashboardRoutes: Record<string, readonly { href: string }[]> = {
|
||||
player: playerLinks,
|
||||
|
||||
Reference in New Issue
Block a user