Skip to content

Conversation

@rakotoz
Copy link

@rakotoz rakotoz commented Dec 10, 2018

No description provided.

"react": "16.5.0",
"react-native": "0.57.2",
"react-native-cli": "2.0.1",
"react-native-side-menu": "^1.1.3",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unused package

@@ -0,0 +1,66 @@
// @flow
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't use flow, use typescript instead

}
};

export default withNavigation(SideMenu) as React.ComponentType<Props>; No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

withNavigation is a generic function, use withNavigation<Props>(...) instead of type assertion, and pls, fix it in EventInfo.tsx

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