use const

This commit is contained in:
Geoff Doty 2024-05-22 14:26:48 -04:00
parent 52c6feef4a
commit 3fd153483e
1 changed files with 5 additions and 5 deletions

View File

@ -14,10 +14,10 @@
*/
export default function app(opts) {
// initial setup
let state = check(opts.state, {});
let view = check(opts.view, () => null);
let actions = check(opts.actions, {});
let mount = opts.mount || "body";
const state = check(opts.state, {});
const view = check(opts.view, () => null);
const actions = check(opts.actions, {});
const mount = opts.mount || "body";
/**
* simple type validation check
@ -63,4 +63,4 @@ export default function app(opts) {
}
return {state,update}
}
}