Skip to content

Commit

Permalink
Replace double negation with true
Browse files Browse the repository at this point in the history
Hey there, I found a small issue

A boolean cast via double negation (!!) is redundant when used as a condition The condition can be written without the extra cast and behave exactly the same.
  • Loading branch information
cesarkohl committed May 10, 2023
1 parent e37f2e0 commit e9260d8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -443,7 +443,7 @@ const AbstractArgView = (props) => {
>
{isInputObjectType(argType) ? (
<span>
{!!argValue
{argValue
? props.styleConfig.arrowOpen
: props.styleConfig.arrowClosed}
</span>
Expand Down

0 comments on commit e9260d8

Please sign in to comment.