Removed unused modals & kept import conssistency with @

This commit is contained in:
Tom
2024-01-04 22:01:50 +00:00
parent 8f7f18e069
commit 0f7fb11f4e
7 changed files with 4 additions and 252 deletions

View File

@@ -6,10 +6,10 @@ import { useEffect, useState } from "react";
import { useSession } from "next-auth/react";
import { cn } from "@/lib/utils";
import { Popover, PopoverContent, PopoverTrigger } from "@/components/ui/popover"
import { Button } from "../ui/button";
import { Button } from "@/components/ui/button";
import { Check, ChevronsUpDown } from "lucide-react";
import { User } from "@prisma/client";
import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem } from "../ui/command";
import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem } from "@/components/ui/command";
const AdminProfile = () => {

View File

@@ -1,8 +1,8 @@
import Link from "next/link";
import { Button } from "../ui/button";
import { Button } from "@/components/ui/button";
import UserProfile from "./userprofile";
import AdminProfile from "./adminprofile";
import RoleGate from "../auth/role-gate";
import RoleGate from "@/components/auth/role-gate";
const SettingsNavigation = async () => {
return (