correction admin moderation
Some checks failed
Build and Push App / build (push) Failing after 47s

This commit is contained in:
2026-04-18 22:41:52 +02:00
parent f1462b909c
commit f1ea12792a
3 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ export default function RatingModerationButtons({ ratingId }: RatingModerationBu
if (result.success) {
toast.success(status === 'APPROVED' ? "Avis approuvé !" : "Avis rejeté.");
} else {
toast.error(result.error);
toast.error(result.error || "Une erreur est survenue");
}
} catch (error) {
toast.error("Erreur lors de l'opération");

View File

@@ -22,7 +22,7 @@ const ReactQuill = dynamic(async () => {
}, {
ssr: false,
loading: () => <div className="h-64 w-full bg-slate-900 animate-pulse rounded-lg border border-slate-700" />
});
}) as any;
interface RichTextEditorProps {
value: string;