From c0177b19e3eb0cf1eb3019450f3b25c36465e6d6 Mon Sep 17 00:00:00 2001 From: streaper2 Date: Wed, 26 Aug 2026 09:11:20 +0200 Subject: [PATCH] correction chemin des photos backendia --- backendia/dashboard/src/app/page.tsx | 4 ++-- backendia/dashboard/src/app/photo/[id]/page.tsx | 4 ++-- backendia/dashboard/src/components/PhotoEditor.tsx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/backendia/dashboard/src/app/page.tsx b/backendia/dashboard/src/app/page.tsx index 75ae914a..f8b0194f 100644 --- a/backendia/dashboard/src/app/page.tsx +++ b/backendia/dashboard/src/app/page.tsx @@ -1,4 +1,4 @@ -import { fetchApi, API_BASE_URL } from "@/lib/api"; +import { fetchApi } from "@/lib/api"; import DatasetToolbar from "@/components/DatasetToolbar"; import { Calendar, User, Crosshair } from "lucide-react"; import Link from "next/link"; @@ -49,7 +49,7 @@ export default async function DashboardPage() {
{/* eslint-disable-next-line @next/next/no-img-element */} {photo.filename} diff --git a/backendia/dashboard/src/app/photo/[id]/page.tsx b/backendia/dashboard/src/app/photo/[id]/page.tsx index 640e146b..7fd25cf8 100644 --- a/backendia/dashboard/src/app/photo/[id]/page.tsx +++ b/backendia/dashboard/src/app/photo/[id]/page.tsx @@ -1,4 +1,4 @@ -import { fetchApi, API_BASE_URL } from "@/lib/api"; +import { fetchApi } from "@/lib/api"; import PhotoEditor from "@/components/PhotoEditor"; import { ChevronLeft, Download } from "lucide-react"; import Link from "next/link"; @@ -33,7 +33,7 @@ export default async function PhotoDetailPage({ params }: { params: Promise<{ id
diff --git a/backendia/dashboard/src/components/PhotoEditor.tsx b/backendia/dashboard/src/components/PhotoEditor.tsx index 66db0d22..feac7fab 100644 --- a/backendia/dashboard/src/components/PhotoEditor.tsx +++ b/backendia/dashboard/src/components/PhotoEditor.tsx @@ -112,7 +112,7 @@ export default function PhotoEditor({ initialPhoto }: PhotoEditorProps) {