Fix to previous commit: fix redirect to entries page.

master
Tom Hacohen 7 years ago
parent d4c49c1f55
commit 8087f2d3f4

@ -64,7 +64,7 @@ export class JournalView extends React.Component {
<Route <Route
path={routeResolver.getRoute('journals._id')} path={routeResolver.getRoute('journals._id')}
exact={true} exact={true}
render={() => <Redirect to={routeResolver.getRoute('journals._id.entries', {journalUid: journal})} />} render={() => <Redirect to={routeResolver.getRoute('journals._id.entries', {journalUid: journal.uid})} />}
/> />
<h2>Welcome to Journal!</h2> <h2>Welcome to Journal!</h2>
<Route <Route

Loading…
Cancel
Save