diff --git a/app/dashboard/_components/tutorial-form.tsx b/app/dashboard/_components/tutorial-form.tsx index 57263d7..7879761 100644 --- a/app/dashboard/_components/tutorial-form.tsx +++ b/app/dashboard/_components/tutorial-form.tsx @@ -14,7 +14,6 @@ import { Pencil1Outlined, StopwatchOutlined, } from "@lineiconshq/free-icons"; -import { Lineicons } from "@lineiconshq/react-lineicons"; import { useCallback, useEffect, useRef, useState } from "react"; type TutorialFormProps = { @@ -26,7 +25,7 @@ type TutorialFormProps = { // Wrapper pour simplifier l'utilisation des icônes LineIcons function Icon({ - icon, + icon: IconComponent, size = 16, className = "", }: { @@ -34,7 +33,7 @@ function Icon({ size?: number; className?: string; }) { - return ; + return ; } // Composant pour les labels avec icône @@ -125,12 +124,12 @@ function FormSection({ }) { return (
{/* Effet de brillance en haut */} -
+
{/* Header */}
@@ -348,7 +347,7 @@ export function TutorialForm({ Éditer {activeTab === "edit" && ( - + )}
@@ -485,7 +484,8 @@ C'est tout pour ce tutoriel !`} />

- Commencez à écrire pour voir l'aperçu... + Commencez à écrire pour voir + l&aops;aperçu...

)} @@ -499,7 +499,7 @@ C'est tout pour ce tutoriel !`}