diff --git a/components/NavBarContent.js b/components/NavBarContent.js index 94aaf40..2712782 100644 --- a/components/NavBarContent.js +++ b/components/NavBarContent.js @@ -173,11 +173,11 @@ class NavBarContent extends React.Component { ); } else if (this.props.route.index > 0) { leftCornerContent = ( - { - const BackButton = this.props.backButtonComponent; - const backButtonProps = this.props.route.backButtonProps || {}; - return ; - }} /> + ); }