import React from 'react';

import { DndProvider } from 'react-dnd';
import { HTML5Backend } from 'react-dnd-html5-backend';

import {
  HashRouter as Router,
  Switch,
  Route
} from "react-router-dom";
import MainWindow from './components/MainWindow';

function App() {
  return (
    <Router>
      <DndProvider backend={HTML5Backend}>
        <Switch>
          <Route path="/">
            <MainWindow/>
          </Route>
        </Switch>

      </DndProvider>
    </Router>
  );
}

export default App;