Cleanup the route resolver a bit.

master
Tom Hacohen 7 years ago
parent 7dd8248aab
commit 6f9c783159

@ -30,7 +30,7 @@ const navigationRoutes: RouteItem[] = [
},
];
const routeResolver = new RouteResolver({
export const routeResolver = new RouteResolver({
home: '',
journals: {
_base: 'journals',

@ -8,16 +8,7 @@ const USER = 'test@localhost';
const PASSWORD = 'SomePassword';
const derived = EteSync.deriveKey(USER, PASSWORD);
import { RouteResolver } from './routes';
const routeResolver = new RouteResolver({
home: '',
journals: {
_base: 'journals',
_id: {
_base: ':journalUid',
},
},
});
import { routeResolver } from './App';
export class JournalList extends React.Component {
state: {

Loading…
Cancel
Save