summaryrefslogtreecommitdiff
path: root/source/features/faster-pr-diff-options.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/faster-pr-diff-options.tsx')
-rw-r--r--source/features/faster-pr-diff-options.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/faster-pr-diff-options.tsx b/source/features/faster-pr-diff-options.tsx
index 10f87bc0..baf867f7 100644
--- a/source/features/faster-pr-diff-options.tsx
+++ b/source/features/faster-pr-diff-options.tsx
@@ -41,7 +41,7 @@ function createWhitespaceButton(): HTMLElement {
data-hotkey="d w"
className={`btn btn-sm btn-outline tooltipped tooltipped-s ${isHidingWhitespace ? 'bg-gray-light text-gray-light' : ''}`}
aria-label={`${isHidingWhitespace ? 'Show' : 'Hide'} whitespace in diffs`}>
- {isHidingWhitespace ? icons.check() : false} No Whitespace
+ {isHidingWhitespace && icons.check()} No Whitespace
</a>
);
}