From a7465a66cd49a943b725f0a3ef45d0b1511b48db Mon Sep 17 00:00:00 2001
From: Jules Laplace <julescarbon@gmail.com>
Date: Thu, 29 Jun 2017 04:03:58 +0200
Subject: upload files

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

(limited to 'client/components/Folders/FolderForm.jsx')

diff --git a/client/components/Folders/FolderForm.jsx b/client/components/Folders/FolderForm.jsx
index 6068400..b89e2a0 100644
--- a/client/components/Folders/FolderForm.jsx
+++ b/client/components/Folders/FolderForm.jsx
@@ -26,7 +26,7 @@ export default class FolderForm extends Component {
     let rec = Object.assign({}, this.state)
     delete rec.error
     client.folder.create( rec ).then( (data) => {
-      console.log(data)
+      this.props.addFolder( data )
     })
   }
   render() {
-- 
cgit v1.2.3-70-g09d2

