Skip to content

Commit ff9200c

Browse files
committed
Change add button text
1 parent ed4c429 commit ff9200c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/containers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ export function FormGroup(props) {
136136
<Button
137137
className="add"
138138
onClick={(e) => props.onAdd()}
139-
title="Add new"
139+
title="Add new key"
140140
>
141-
{hasChildren ? 'Add more' : 'Add'}
141+
Add key
142142
</Button>
143143
}
144144
</div>

src/ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ export function getArrayFormRow(args) {
274274
<Button
275275
className="add"
276276
onClick={(e) => onAdd(getBlankData(schema.items, args.getRef), coords)}
277-
title="Add new"
277+
title="Add new item"
278278
>
279279
Add item
280280
</Button>

0 commit comments

Comments
 (0)