From 98792144656ce8accadab2c120ccf53d04cac76f Mon Sep 17 00:00:00 2001
From: Jules Laplace <julescarbon@gmail.com>
Date: Fri, 5 Jan 2018 08:52:19 +0100
Subject: fix paths

---
 client/components/App.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'client/components/App.jsx')

diff --git a/client/components/App.jsx b/client/components/App.jsx
index fbe4d79..4f9c0f2 100644
--- a/client/components/App.jsx
+++ b/client/components/App.jsx
@@ -45,7 +45,7 @@ class App extends Component {
       <div>
         <Header location={this.props.location} />
         <Paintings data={this.state.data} />
-        <Modal visible={this.props.location.pathname !== '/'}>
+        <Modal visible={this.props.location.pathname !== '/paintings/'}>
           <Details painting={painting} />
         </Modal>
       </div>
-- 
cgit v1.2.3-70-g09d2

