new component - start numbering at 1
This commit is contained in:
parent
efd0d39587
commit
c2fd54a250
|
@ -22,7 +22,7 @@ export default function(component, state) {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
let index = 0
|
let index = 1
|
||||||
let name
|
let name
|
||||||
while (!name) {
|
while (!name) {
|
||||||
const tryName = `${capitalised} ${index}`
|
const tryName = `${capitalised} ${index}`
|
||||||
|
|
Loading…
Reference in New Issue