Commit 529d5f37 authored by yann300's avatar yann300 Committed by ioedeveloper

remove code duplicate

parent 06b6da3a
...@@ -430,8 +430,6 @@ Please make a backup of your contracts and start using http://remix.ethereum.org ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment