From 5fd9f5d9aae7847a28d20c88710fd43ffe2ac41a Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Sat, 14 Oct 2023 11:39:05 -0500 Subject: [PATCH] Change vars to const in dedication-form --- client/js/nonprofits/donate/dedication-form.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/js/nonprofits/donate/dedication-form.js b/client/js/nonprofits/donate/dedication-form.js index b86cf32c7..31d80f960 100644 --- a/client/js/nonprofits/donate/dedication-form.js +++ b/client/js/nonprofits/donate/dedication-form.js @@ -6,9 +6,9 @@ const uuid = require('uuid') function view(state) { - var radioId1 = uuid.v1() // need unique ids for the checkbox id and label for attrs - var radioId2 = uuid.v1() - var data = state.dedicationData$() || {} + const radioId1 = uuid.v1() // need unique ids for the checkbox id and label for attrs + const radioId2 = uuid.v1() + const data = state.dedicationData$() || {} return h('form.dedication-form', { on: {submit: ev => {ev.preventDefault(); state.submitDedication$(ev.currentTarget)}} }, [