Skip to content

Commit

Permalink
Merge pull request #23 from kesha-antonov/master
Browse files Browse the repository at this point in the history
Fix warning: PureComponent should not use shouldComponentUpdate
  • Loading branch information
aksonov committed Jun 8, 2017
2 parents 994e688 + 003dbe5 commit fb872fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NavigationCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ type Props = NavigationSceneRendererProps & {

const {PropTypes} = React;

class SceneView extends React.PureComponent<any, SceneViewProps, any> {
class SceneView extends React.Component<any, SceneViewProps, any> {

static propTypes = {
sceneRenderer: PropTypes.func.isRequired,
Expand Down

0 comments on commit fb872fc

Please sign in to comment.