Always result to current document url

This commit is contained in:
Jori Lallo
2016-08-24 00:48:18 -07:00
parent a2aea2abfc
commit 4a1535d6c8

View File

@@ -59,6 +59,7 @@ class DocumentSceneStore {
const { data } = res;
runInAction('fetchDocument', () => {
this.document = data;
browserHistory.replace(data.url);
});
} catch (e) {
console.error("Something went wrong");