From 4d6d91b72c860a92e2f935217e1a8868133bb016 Mon Sep 17 00:00:00 2001 From: kongtiaowang Date: Wed, 25 Sep 2024 12:56:03 -0400 Subject: [PATCH] lint fix --- modules/acknowledgements/jsx/acknowledgementsIndex.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/acknowledgements/jsx/acknowledgementsIndex.js b/modules/acknowledgements/jsx/acknowledgementsIndex.js index 13973256df6..201b828405b 100644 --- a/modules/acknowledgements/jsx/acknowledgementsIndex.js +++ b/modules/acknowledgements/jsx/acknowledgementsIndex.js @@ -349,7 +349,8 @@ class AcknowledgementsIndex extends Component { name='addStartDate' label='Start date' value={this.state.formData.addStartDate} - maxYear={this.state.formData.addEndDate || this.state.data.meta.maxYear} + maxYear={this.state.formData.addEndDate + || this.state.data.meta.maxYear} minYear={this.state.data.meta.minYear} required={true} onUserInput={this.setFormData} @@ -379,7 +380,7 @@ class AcknowledgementsIndex extends Component { label='Save' type='submit' buttonClass='btn btn-sm btn-primary' - disabled={this.state.submitting} + disabled={this.state.submitting} />