Skip to content

Commit

Permalink
Prettier Up Some Code
Browse files Browse the repository at this point in the history
Small change to prettier's parser I guess
  • Loading branch information
jrjohnson committed Jul 15, 2024
1 parent 577d31c commit 1b7ed02
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import Component from '@glimmer/component';
export default class LeadershipCollapsed extends Component {
get count() {
const administratorsCount = this.args.showAdministrators
? this.args.administratorsCount ?? 0
? (this.args.administratorsCount ?? 0)
: 0;
const directorsCount = this.args.showDirectors ? this.args.directorsCount ?? 0 : 0;
const directorsCount = this.args.showDirectors ? (this.args.directorsCount ?? 0) : 0;
const studentAdvisorsCount = this.args.showStudentAdvisors
? this.args.studentAdvisorsCount ?? 0
? (this.args.studentAdvisorsCount ?? 0)
: 0;
return administratorsCount + directorsCount + studentAdvisorsCount;
}
Expand Down

0 comments on commit 1b7ed02

Please sign in to comment.