Skip to content

Commit

Permalink
chore: remove unnecessary ternary
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienIzz committed Sep 18, 2024
1 parent 5bc60b5 commit 502355c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const VirtualizedListWithSize = typedMemo(
}}
testID={props.testID ? props.testID + '-size-giver' : undefined}
>
{listSizeInPx ? <VirtualizedList {...props} listSizeInPx={listSizeInPx} /> : null}
<VirtualizedList {...props} listSizeInPx={listSizeInPx} />
</View>
);
},
Expand Down

0 comments on commit 502355c

Please sign in to comment.