Skip to content

fix: add blank setNativeProps function on mocked View#1

Open
ethanneff wants to merge 1 commit intoNiryo:masterfrom
ethanneff:patch-1
Open

fix: add blank setNativeProps function on mocked View#1
ethanneff wants to merge 1 commit intoNiryo:masterfrom
ethanneff:patch-1

Conversation

@ethanneff
Copy link
Copy Markdown

Prevents error from https://github.com/react-navigation/react-navigation/blob/main/packages/stack/src/views/Stack/Card.tsx#L238

Passing an empty function since this I only use react-native-highlight-updates for debugging anyways.

Simulator Screen Shot - iPhone 11 - 2020-10-12 at 21 44 09

Prevents a crash on https://github.com/react-navigation/react-navigation/blob/main/packages/stack/src/views/Stack/Card.tsx#L238

Passing an empty function since this I only use `react-native-highlight-updates` for debugging anyways.
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.

2 participants