Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ionlizarazu committed Mar 13, 2024
1 parent 09a7a6a commit ea7be33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import messages from './messages.js';

export const CountUpBlockSchema = (intl, data) => {
const decimals =
data.start % 1 != 0 || data.end % 1 != 0 ? [('decimal', 'decimals')] : [];
data.start % 1 !== 0 || data.end % 1 !== 0 ? [('decimal', 'decimals')] : [];
const thousands = data.start >= 1000 || data.end >= 1000 ? ['separator'] : [];
const separator =
decimals.length || thousands.length
Expand Down

0 comments on commit ea7be33

Please sign in to comment.