We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec3f03b commit aa03d3bCopy full SHA for aa03d3b
src/lib/project-fetcher-hoc.jsx
@@ -114,6 +114,11 @@ const ProjectFetcherHOC = function (WrappedComponent) {
114
this.props.vm.clear();
115
this.props.vm.stop();
116
117
+ // pm: clear url params when fetching if the project ID is 'default'
118
+ if (projectId == 0 || projectId === null) {
119
+ const path = window.location.pathname + window.location.hash;
120
+ window.history.replaceState({}, document.title, path);
121
+ }
122
let assetPromise;
123
// In case running in node...
124
let projectUrl = typeof URLSearchParams === 'undefined' ?
0 commit comments