Add Link component

This commit is contained in:
Tom Raithel
2017-02-21 21:54:38 +01:00
parent c0dd1809e3
commit f284b4b310
9 changed files with 76 additions and 22 deletions

View File

@@ -28,7 +28,7 @@ const historyManager = store => {
return next => action => {
if(action.type === NAVIGATE && action.pushToHistory === true) {
history.push(`${action.pageName}.html`);
history.push(`/${action.pageName}.html`);
}
return next(action);
}