+
{label}
+
+ {value.length === 0 ? (
+
+
+ تصویری در گالری نیست
+
+ ) : (
+
+ {value.map((url, index) => (
+ -
+
+
+
+
+
+
+
+
+
+ ))}
+
+ )}
+
+
+
+ {error &&
{error}
}
+
+
{
+ void addFiles(event.target.files)
+ }}
+ />
+
+ )
+}
diff --git a/frontend/src/pages/ProjectDetail.tsx b/frontend/src/pages/ProjectDetail.tsx
index 5798f89..62c0ab5 100644
--- a/frontend/src/pages/ProjectDetail.tsx
+++ b/frontend/src/pages/ProjectDetail.tsx
@@ -10,7 +10,6 @@ import { useEffect } from 'react';
import { useSite, useStatusLabel } from '../api';
import { useLang } from '../i18n/lang';
import { applySeo } from '../seo';
-import { SingletonPill } from '../admin/Editable';
export function ProjectDetail() {
const { slug } = useParams<{ slug: string }>()
@@ -86,13 +85,15 @@ export function ProjectDetail() {