fix: rename var nextId

This commit is contained in:
Derrick Hammer 2023-07-01 05:21:30 -04:00
parent 0379757dcd
commit 99b355f7a1
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 2 deletions

View File

@ -47,9 +47,9 @@ function idFactory(start = 1) {
let id = start;
return function nextId() {
const nextId = id;
const _nextId = id;
id += 1;
return nextId;
return _nextId;
};
}