Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
Added FLIR
Browse files Browse the repository at this point in the history
  • Loading branch information
anders-hopland committed Nov 2, 2017
1 parent 7d0d8af commit dc93407
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/Common/sponsorlist.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ export class SponsorList extends React.Component<SponsorListProps, SponsorListSt
super(props)

this.state = {
year: props.year || 2017,
year: props.year || 2018,
sponsors: [],
}

this.getSponsors(this.state.year)
}

componentWillReceiveProps (nextProps: any) {
let nextYear: number = nextProps.year || 2017
let nextYear: number = nextProps.year || 2018
let year: number = this.props.year || this.state.year

if (nextYear != year) {
Expand Down

0 comments on commit dc93407

Please sign in to comment.