diff --git a/src/containers/sb-file-uploader.jsx b/src/containers/sb-file-uploader.jsx index de89b3afd..cc2e488b5 100644 --- a/src/containers/sb-file-uploader.jsx +++ b/src/containers/sb-file-uploader.jsx @@ -118,12 +118,6 @@ class SBFileUploader extends React.Component { const filename = this.fileToUpload && this.fileToUpload.name; this.props.vm.loadProject(this.reader.result) .then(() => { - // Remove the hash if any (without triggering a hash change event or a reload) - try { // Can fail e.g. when GUI is loaded from static file (integration tests) - history.replaceState({}, document.title, '.'); - } catch { - // No fallback, just do not trigger promise catch below - } this.props.onLoadingFinished(this.props.loadingState, true); // Reset the file input after project is loaded // This is necessary in case the user wants to reload a project