diff --git a/src/views/preview/project-view.jsx b/src/views/preview/project-view.jsx index d09e735cd..912b4f1ef 100644 --- a/src/views/preview/project-view.jsx +++ b/src/views/preview/project-view.jsx @@ -410,6 +410,9 @@ class Preview extends React.Component { this.setState({isProjectLoaded: true}); } pushHistory (push) { + // Do not push history for projects without a real ID + if (this.state.projectId === '0') return; + // update URI to match mode const idPath = this.state.projectId ? `${this.state.projectId}/` : ''; let modePath = '';