From 65605d9c6b8d491b3adf5bc8145b650ce556d617 Mon Sep 17 00:00:00 2001 From: DmsAnhr Date: Tue, 24 Feb 2026 14:12:32 +0700 Subject: [PATCH] fix unused comp --- .../admin/mapset-upload/_components/map/MetadataForm.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/(modules)/admin/mapset-upload/_components/map/MetadataForm.tsx b/app/(modules)/admin/mapset-upload/_components/map/MetadataForm.tsx index 3685c46..ccd1a18 100755 --- a/app/(modules)/admin/mapset-upload/_components/map/MetadataForm.tsx +++ b/app/(modules)/admin/mapset-upload/_components/map/MetadataForm.tsx @@ -2,7 +2,7 @@ import { useState, useEffect } from "react"; import { v4 as uuidv4 } from "uuid"; -import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/shared/components/ui/tabs"; +import { Tabs, TabsContent } from "@/shared/components/ui/tabs"; import FormMultiSelect from "@/shared/components/forms/form-multi-select"; const satupetaCategory = [ @@ -43,13 +43,11 @@ export const getInitialMetadata = (initialValues: any = {}) => { } return { - // Mapping dari API Suggestion (jika ada) title: initialValues.title || "", abstract: initialValues.abstract || "", keywords: initialValues.keyword ? (Array.isArray(initialValues.keyword) ? initialValues.keyword.join(', ') : initialValues.keyword) : "", topicCategory: initialValues.metadata_category || "", - // Default Values Hardcoded Anda mapsetCategory: satupetaCategoryId[getIndexCategoryId(initialValues.mapset_category)] || "", dateCreated: today, status: "completed",