Fix spacing errors (#7484)

This commit is contained in:
J. Ryan Stinnett 2022-01-10 12:57:20 +00:00 committed by GitHub
parent 8f60d8d2c7
commit 6199c337ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 74 additions and 46 deletions

View file

@ -329,7 +329,7 @@ export default class MPollBody extends React.Component<IBodyProps, IState> {
}
const newEventIds = newEvents.map((mxEvent: MatrixEvent) => mxEvent.getId());
this.seenEventIds = this.seenEventIds.concat(newEventIds);
this.setState( { selected: newSelected } );
this.setState({ selected: newSelected });
}
private totalVotes(collectedVotes: Map<string, number>): number {
@ -381,7 +381,7 @@ export default class MPollBody extends React.Component<IBodyProps, IState> {
);
}
} else {
totalText = _t( "Based on %(count)s votes", { count: totalVotes } );
totalText = _t("Based on %(count)s votes", { count: totalVotes });
}
return <div className="mx_MPollBody">