From 9aabd96f9f6320f45cb7cc2ed86058046c3ad77a Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Tue, 18 Jun 2024 15:37:00 +0530 Subject: [PATCH] remove logs --- apps/remix-ide/src/app/components/preload.tsx | 4 ---- apps/remix-ide/src/app/components/status-bar.tsx | 1 - apps/remix-ide/src/app/udapp/run-tab.js | 1 - 3 files changed, 6 deletions(-) diff --git a/apps/remix-ide/src/app/components/preload.tsx b/apps/remix-ide/src/app/components/preload.tsx index 8eeba665f6..091d4686ef 100644 --- a/apps/remix-ide/src/app/components/preload.tsx +++ b/apps/remix-ide/src/app/components/preload.tsx @@ -1,7 +1,6 @@ import { RemixApp } from '@remix-ui/app' import axios from 'axios' import React, { useEffect, useRef, useState } from 'react' -import { createRoot } from 'react-dom/client' import * as packageJson from '../../../../../package.json' import { fileSystem, fileSystems } from '../files/fileSystem' import { indexedDBFileSystem } from '../files/filesystems/indexedDB' @@ -31,10 +30,8 @@ export const Preload = (props: any) => { ) function loadAppComponent() { - console.log('loading remix in the preloader') import('../../app') .then((AppComponent) => { - console.log('loading remix in the preloader', AppComponent) const appComponent = new AppComponent.default() appComponent.run().then(() => { props.root.render() @@ -70,7 +67,6 @@ export const Preload = (props: any) => { if (fsLoaded) { console.log(fsLoaded.name + ' activated') _paq.push(['trackEvent', 'Storage', 'activate', fsLoaded.name]) - console.log('loading remix in the preloader') loadAppComponent() } else { _paq.push(['trackEvent', 'Storage', 'error', 'no supported storage']) diff --git a/apps/remix-ide/src/app/components/status-bar.tsx b/apps/remix-ide/src/app/components/status-bar.tsx index efb105dbe0..088e0b4da1 100644 --- a/apps/remix-ide/src/app/components/status-bar.tsx +++ b/apps/remix-ide/src/app/components/status-bar.tsx @@ -67,7 +67,6 @@ export class StatusBar extends Plugin implements StatusBarInterface { workspaceName && workspaceName.length > 0 ? this.currentWorkspaceName = workspaceName : this.currentWorkspaceName = '' }) this.on('filePanel', 'switchToWorkspace', async (workspace: string) => { - console.log('from status bar switchToWorkspace') await this.isWorkspaceAGitRepo() if (!this.isGitRepo) { this.currentWorkspaceName = 'Not a git repo' diff --git a/apps/remix-ide/src/app/udapp/run-tab.js b/apps/remix-ide/src/app/udapp/run-tab.js index 515e0093b9..837e8d97ba 100644 --- a/apps/remix-ide/src/app/udapp/run-tab.js +++ b/apps/remix-ide/src/app/udapp/run-tab.js @@ -161,7 +161,6 @@ export class RunTab extends ViewPlugin { await addProvider(position, name, displayName, true, false, false) } const registerInjectedProvider = async (event) => { - console.log('registerInjectedProvider', event) const name = 'injected-' + event.detail.info.name const displayName = 'Injected Provider - ' + event.detail.info.name await this.engine.register([new InjectedProviderDefault(event.detail.provider, name)])