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 ce6df36 commit 2b51961Copy full SHA for 2b51961
src/containers/sb-file-uploader.jsx
@@ -118,12 +118,6 @@ class SBFileUploader extends React.Component {
118
const filename = this.fileToUpload && this.fileToUpload.name;
119
this.props.vm.loadProject(this.reader.result)
120
.then(() => {
121
- // Remove the hash if any (without triggering a hash change event or a reload)
122
- try { // Can fail e.g. when GUI is loaded from static file (integration tests)
123
- history.replaceState({}, document.title, '.');
124
- } catch {
125
- // No fallback, just do not trigger promise catch below
126
- }
127
this.props.onLoadingFinished(this.props.loadingState, true);
128
// Reset the file input after project is loaded
129
// This is necessary in case the user wants to reload a project
0 commit comments