feat: fixing error

This commit is contained in:
hanif salafi 2025-01-02 11:00:46 +07:00
parent a6a8bca7ce
commit 0fc38f879e
1 changed files with 1 additions and 1 deletions

View File

@ -450,7 +450,7 @@ export default function FormImageDetail() {
<div className="space-y-2">
<Label>Tag</Label>
<div className="flex flex-wrap gap-2">
{detail?.tags?.split(",").map((tag, index) => (
{detail?.tags?.split(",").map((tag: string, index: number) => (
<Badge
key={index}
className="border rounded-md px-2 py-2"