From 2fb44e9ef9feef5179487d56a8a97699fa4b739e Mon Sep 17 00:00:00 2001
From: Jules Laplace <julescarbon@gmail.com>
Date: Thu, 22 Jun 2017 00:37:03 +0200
Subject: mobile css and slight refactor

---
 client/components/Details.jsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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

diff --git a/client/components/Details.jsx b/client/components/Details.jsx
index 4994a3b..b7d9496 100644
--- a/client/components/Details.jsx
+++ b/client/components/Details.jsx
@@ -16,14 +16,13 @@ export default class Details extends Component {
     const parameters = breakUpJSON(painting.parameters)
     return (
       <div class='details' onWheel={this.onWheel}>
-        <Link to="/">&lt; Go back</Link>
         <h1>{painting.title}</h1>
         <div class='stats'>
           {painting.medium}<br/>
           {painting.date}<br/>
           {painting.image.caption}
         </div>
-        <img src={painting.image.uri} />
+        <img src={painting.image.uri} key={painting.image.uri} />
         {painting.originalImage &&
           <div>
             <h2>Original Image</h2>
-- 
cgit v1.2.3-70-g09d2

