-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't check the threshold value in the preview
According to the types, if a threshold is present it always has a `threshold.value` so there's no need to check. This also prevents treating a value of `0` as `false`.
- Loading branch information
Alejandro Fernández Gómez
committed
Sep 3, 2021
1 parent
7141ae7
commit 15e3fd0
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters