You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
510 B
TypeScript

7 years ago
import * as React from 'react';
import { HashRouter } from 'react-router-dom';
7 years ago
import './App.css';
import { EteSyncContext } from './EteSyncContext';
import { RouteResolver } from './routes';
export const routeResolver = new RouteResolver({
home: '',
journals: {
_base: 'journals',
_id: {
_base: ':journalUid',
},
},
});
7 years ago
class App extends React.Component {
render() {
return (
<HashRouter>
<EteSyncContext />
</HashRouter>
7 years ago
);
}
}
export default App;