From bbe45cf8eee0030fddf3f8933e408794b3fc5603 Mon Sep 17 00:00:00 2001 From: Lukas Martinelli Date: Wed, 11 Jan 2017 16:23:33 +0100 Subject: [PATCH] Switch text in inspect button #64 --- src/components/App.jsx | 1 + src/components/Toolbar.jsx | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/App.jsx b/src/components/App.jsx index bac49eb..bd8f31f 100644 --- a/src/components/App.jsx +++ b/src/components/App.jsx @@ -227,6 +227,7 @@ export default class App extends React.Component { const toolbar = - Inspect + + { this.props.inspectModeEnabled && Map Mode } + { !this.props.inspectModeEnabled && Inspect Mode } +