1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00
onion/js/app.js

15 lines
298 B
JavaScript

'use strict';
import React from 'react';
import Router from 'react-router';
import AscribeApp from './components/ascribe_app';
import routes from './routes';
Router.run(routes, Router.HashLocation, (AscribeApp) => {
React.render(
<AscribeApp />,
document.getElementById('main')
);
});