diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-07-07 21:18:33 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-07-07 21:18:33 +0200 |
| commit | f8b61281be84a6e4e7a44be5109e688a7c56c671 (patch) | |
| tree | 43797c6b6cfa5c0f89c020f8c89e0da10f791a55 /client/components/App.jsx | |
| parent | 3d3a7b80d34c100846c8ae130b424b63ba3c0784 (diff) | |
refactor files so list updates while processing
Diffstat (limited to 'client/components/App.jsx')
| -rw-r--r-- | client/components/App.jsx | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/client/components/App.jsx b/client/components/App.jsx index b3da081..d8050c8 100644 --- a/client/components/App.jsx +++ b/client/components/App.jsx @@ -3,23 +3,11 @@ import { isMobile } from '../vendor/util' // import db from '../db' import Header from './UI/Header.jsx' -import Browser from './Browser/Browser.jsx' +import Browser from '../containers/browser.js' import Tasks from './Tasks/Tasks.jsx' import client from '../client' -var socket = io(window.location.origin) - -socket.on('connect', (data) => { - console.log('connected') -}) -socket.on('worker', (data) => { - console.log('worker connected', data) -}) -socket.on('processed', (data) => { - console.log('processed', data) -}) - const App = () => { return ( <div> |
