Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kongtiaowang committed Sep 25, 2024
1 parent 8bccc70 commit 4d6d91b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/acknowledgements/jsx/acknowledgementsIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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}
/>
</div>
</FormElement>
Expand Down

0 comments on commit 4d6d91b

Please sign in to comment.