import { h, Component } from 'preact'
import { isMobile } from '../vendor/util'
// import db from '../db'
import { Link, withRouter } from 'react-router-dom'

import Header from './UI/Header.jsx'
import Browser from './Browser/Browser.jsx'
import Tasks from './Tasks/Tasks.jsx'

import client from '../client'

class App extends Component {
  constructor(props) {
    super()
    this.state = {
    }
  }
  render() {
    return (
      <div>
        <Header />
        <div class='columns'>
          <Browser />
          <Tasks />
        </div>
      </div>
    )
  }
}

export default withRouter(App)
