diff --git a/app/admin/import-users/page.tsx b/app/admin/import-users/page.tsx index 99d72cb..9f2415c 100644 --- a/app/admin/import-users/page.tsx +++ b/app/admin/import-users/page.tsx @@ -1,11 +1,11 @@ 'use client'; import { useState } from 'react'; -import { Button } from '@/components/ui/button'; -import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; -import { Input } from '@/components/ui/input'; -import { Label } from '@/components/ui/label'; -import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogTrigger } from '@/components/ui/dialog'; +import { Button } from '../../../components/ui/button'; +import { Card, CardContent, CardHeader, CardTitle } from '../../../components/ui/card'; +import { Input } from '../../../components/ui/input'; +import { Label } from '../../../components/ui/label'; +import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogTrigger } from '../../../components/ui/dialog'; import { toast } from 'sonner'; interface ParsedUser { diff --git a/components/mode-toggle.tsx b/components/mode-toggle.tsx index ba9be82..563e230 100644 --- a/components/mode-toggle.tsx +++ b/components/mode-toggle.tsx @@ -4,12 +4,12 @@ import * as React from "react" import { Moon, Sun, Laptop } from "lucide-react" import { useTheme } from "next-themes" -import { Button } from "@/components/ui/button" +import { Button } from "./ui/button" import { Popover, PopoverContent, PopoverTrigger, -} from "@/components/ui/popover" +} from "./ui/popover" export function ModeToggle() { const { setTheme, theme } = useTheme() diff --git a/components/ui/checkbox.tsx b/components/ui/checkbox.tsx index cb0b07b..69e9115 100644 --- a/components/ui/checkbox.tsx +++ b/components/ui/checkbox.tsx @@ -4,7 +4,7 @@ import * as React from "react" import * as CheckboxPrimitive from "@radix-ui/react-checkbox" import { CheckIcon } from "lucide-react" -import { cn } from "@/lib/utils" +import { cn } from "../../lib/utils" function Checkbox({ className, diff --git a/components/ui/select.tsx b/components/ui/select.tsx index 25e5439..85a1b0d 100644 --- a/components/ui/select.tsx +++ b/components/ui/select.tsx @@ -4,7 +4,7 @@ import * as React from "react" import * as SelectPrimitive from "@radix-ui/react-select" import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react" -import { cn } from "@/lib/utils" +import { cn } from "../../lib/utils" function Select({ ...props diff --git a/tsconfig.json b/tsconfig.json index 019b353..64bd90f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,11 @@ { "compilerOptions": { "target": "ES2017", - "lib": ["dom", "dom.iterable", "esnext"], + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], "allowJs": true, "skipLibCheck": true, "strict": true, @@ -19,7 +23,9 @@ } ], "paths": { - "@/*": ["./*"] + "@/*": [ + "./*" + ] } }, "include": [ @@ -28,7 +34,10 @@ "**/*.tsx", ".next/types/**/*.ts", ".next\\dev/types/**/*.ts", - ".next\\dev/types/**/*.ts" + ".next\\dev/types/**/*.ts", + ".next/dev/types/**/*.ts" ], - "exclude": ["node_modules"] + "exclude": [ + "node_modules" + ] }