fix: Corriger les chemins d'importation pour les composants et ajuster la configuration TypeScript

This commit is contained in:
2025-11-20 18:40:57 +01:00
parent c1ffd561ff
commit 5fcedfa28b
5 changed files with 22 additions and 13 deletions

View File

@@ -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()

View File

@@ -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,

View File

@@ -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