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 5c108bf commit 0400f03Copy full SHA for 0400f03
src/lib/project-fetcher-hoc.jsx
@@ -115,10 +115,8 @@ const ProjectFetcherHOC = function (WrappedComponent) {
115
this.props.vm.stop();
116
117
// pm: clear url params when fetching if the project ID is 'default'
118
- console.log(loadingState);
119
if (
120
- (loadingState === LoadingStates.LOADING_VM_NEW_DEFAULT || loadingState === LoadingStates.FETCHING_NEW_DEFAULT)
121
- && (projectId == 0 || projectId === null)
+ (loadingState === "FETCHING_NEW_DEFAULT") && (projectId == 0 || projectId === null)
122
) {
123
const path = window.location.pathname + window.location.hash;
124
window.history.replaceState({}, document.title, path);
0 commit comments