Skip to content

Commit

Permalink
style: remove debug console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
roshaans committed May 31, 2023
1 parent 180e9b5 commit a2a19fd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions frontend/src/components/Editor/Editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,13 +312,10 @@ const Editor = ({
async function executeIndexerFunction(option = "latest", startingBlockHeight = null) {
switch (option) {
case "selected":
console.log("executing selected")
await indexerRunner.executeIndexerFunctionOnHeights(heights, indexingCode, option)
break
case "specific":
console.log("executing indexer specific")
setIsExecutingIndexerFunction(() => true)
console.log(startingBlockHeight, "block hegihth stating")
if (startingBlockHeight === null && Number(startingBlockHeight) === 0) {
console.log("Invalid Starting Block Height: starting block height is null or 0")
break
Expand All @@ -327,7 +324,6 @@ const Editor = ({
await indexerRunner.start(startingBlockHeight, indexingCode, option)
break
case "latest":
console.log("executing indexer func")
setIsExecutingIndexerFunction(() => true)
await indexerRunner.start(height, indexingCode, option)
const latestHeight = await requestLatestBlockHeight()
Expand Down

0 comments on commit a2a19fd

Please sign in to comment.