remove code duplicate

pull/262/head
yann300 4 years ago
parent 762153c2d6
commit dc01e24b9d
  1. 2
      src/app.js

@ -430,8 +430,6 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
// get the file from gist // get the file from gist
const gistHandler = new GistHandler() const gistHandler = new GistHandler()
const queryParams = new QueryParams()
const params = queryParams.get()
const loadedFromGist = gistHandler.loadFromGist(params, fileManager) const loadedFromGist = gistHandler.loadFromGist(params, fileManager)
if (!loadedFromGist) { if (!loadedFromGist) {
// insert example contracts if there are no files to show // insert example contracts if there are no files to show

Loading…
Cancel
Save