From 3fd153483eaf174f5e4aa2fb61647839b9a337bf Mon Sep 17 00:00:00 2001 From: Geoff Doty Date: Wed, 22 May 2024 14:26:48 -0400 Subject: [PATCH] use const --- src/app.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app.js b/src/app.js index 246a81d..7e078a4 100644 --- a/src/app.js +++ b/src/app.js @@ -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} -} \ No newline at end of file +}