Skip to content

Commit ce73204

Browse files
authored
fuck wrong event name
1 parent 6f3b197 commit ce73204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/project-fetcher-hoc.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ const ProjectFetcherHOC = function (WrappedComponent) {
115115
this.props.vm.stop();
116116

117117
// pm: clear url params when fetching if the project ID is 'default'
118-
if (loadingState === LoadingStates.LOADING_VM_NEW_DEFAULT && (projectId == 0 || projectId === null)) {
118+
if (loadingState === LoadingStates.FETCHING_NEW_DEFAULT && (projectId == 0 || projectId === null)) {
119119
const path = window.location.pathname + window.location.hash;
120120
window.history.replaceState({}, document.title, path);
121121
this.props.vm.setFramerate(30);

0 commit comments

Comments
 (0)