Skip to content

Commit

Permalink
show labels
Browse files Browse the repository at this point in the history
  • Loading branch information
karooolis committed Jan 30, 2025
1 parent 4d9e5f9 commit 18eab4b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export function FunctionField({ worldAbi, functionAbi }: Props) {
name={`${fieldArrayName}.${itemIndex}.${component.name}`}
render={({ field }) => (
<FormItem className="flex-1">
<FormLabel className="text-xs">{component.name}</FormLabel>
{itemIndex === 0 && <FormLabel className="text-xs">{component.name}</FormLabel>}
<FormControl>
<Input placeholder={component.type} {...field} />
</FormControl>
Expand Down Expand Up @@ -194,7 +194,7 @@ export function FunctionField({ worldAbi, functionAbi }: Props) {
}}
>
<PlusCircle className="mr-2 h-4 w-4" />
Add Item
Add item
</Button>
</div>
);
Expand Down

0 comments on commit 18eab4b

Please sign in to comment.