remove logs

pull/4898/head
aniket-engg 5 months ago committed by Aniket
parent 20aa6bc011
commit 544f616b5b
  1. 4
      apps/remix-ide/src/app/components/preload.tsx
  2. 1
      apps/remix-ide/src/app/components/status-bar.tsx
  3. 1
      apps/remix-ide/src/app/udapp/run-tab.js

@ -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(<RemixApp app={appComponent} />)
@ -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'])

@ -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'

@ -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)])

Loading…
Cancel
Save