new component - start numbering at 1

This commit is contained in:
Michael Shanks 2020-08-07 12:09:48 +01:00
parent 29ee500eea
commit f71bda6d6a
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ export default function(component, state) {
}
})
let index = 0
let index = 1
let name
while (!name) {
const tryName = `${capitalised} ${index}`