Skip to content

Conversation

@RobertDS07
Copy link

Improving filter because if children is rendering with a condition ex.:

{callcenter_phone ? (
        <ActionButton.Item
          onPress={handleOpenCall}
          buttonColor={childrenColor || theme.colors.primary}
        >
          <Icon name="phone" type="FontAwesome" />
        </ActionButton.Item>
) : null}

It pass in filter because typeof null is 'object'

This PR closes issue 366

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot read property 'props' of null

1 participant