From c6033a8bb3f9ccb19470e307e27eeb5082655cde Mon Sep 17 00:00:00 2001 From: RWOverdijk Date: Mon, 28 Mar 2016 14:55:01 +0200 Subject: [PATCH] chore(navbar): Renamed variable --- src/NavBar.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/NavBar.js b/src/NavBar.js index 78a820ceb..8b631d2e1 100644 --- a/src/NavBar.js +++ b/src/NavBar.js @@ -78,19 +78,19 @@ export default class NavBar extends React.Component { } _renderBackButton() { - let backButtonImage; + let buttonImage; if (this.props.navigationState.index === 0) { if(!!this.context.drawer && typeof this.context.drawer.toggle === 'function'){ - backButtonImage = this.props.navigationState.drawerImage || require('./menu_burger.png'); + buttonImage = this.props.navigationState.drawerImage || require('./menu_burger.png'); return ( { var drawer = this.context.drawer; drawer.toggle(); }}> - + ); }else{ @@ -98,11 +98,11 @@ export default class NavBar extends React.Component { } } - backButtonImage = this.props.navigationState.backButtonImage || require('./back_chevron.png'); + buttonImage = this.props.navigationState.backButtonImage || require('./back_chevron.png'); return ( - + ); }