Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
cauemarcondes committed Dec 2, 2019
1 parent 91ec379 commit ca896ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export const TransactionDistribution: FunctionComponent<Props> = (
sample =>
sample.transactionId === transactionId && sample.traceId === traceId
);
return sampleFound === -1 ? false : true;
return sampleFound !== -1;
});

onBucketSelected(bucketIndex);
Expand Down

0 comments on commit ca896ae

Please sign in to comment.