Skip to content

Commit

Permalink
fix: lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
allroundexperts committed Aug 24, 2023
1 parent 4302f5c commit 5ec44ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Pressable/PressableWithDelayToggle.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function PressableWithDelayToggle(props) {
ref={props.innerRef}
onPress={updatePressState}
accessibilityLabel={tooltipText}
{...props.inline && {suppressHighlighting: true}}
suppressHighlighting={props.inline ? true : undefined}
>
<>
{props.inline && labelText}
Expand Down

0 comments on commit 5ec44ab

Please sign in to comment.