rm consoles

pull/2074/head
bunsenstraat 3 years ago
parent 0debfaa034
commit 13df4d2c5e
  1. 1
      apps/remix-ide/src/app/editor/editor.js
  2. 1
      apps/remix-ide/src/app/panels/terminal.js
  3. 5
      libs/remix-ui/app/src/lib/remix-app/remix-app.tsx
  4. 5
      libs/remix-ui/panel/src/lib/plugins/panel-plugin.tsx

@ -70,7 +70,6 @@ class Editor extends Plugin {
}
updateComponent(state) {
console.log(state)
return <EditorUI
editorAPI={state.api}
themeType={state.currentThemeType}

@ -113,7 +113,6 @@ class Terminal extends Plugin {
}
updateComponent(state) {
console.log("render terminal")
return <RemixUiTerminal
plugin={state.plugin}
onReady={state.onReady}

@ -32,11 +32,6 @@ const RemixApp = (props: IRemixAppUi) => {
}
}, [])
useEffect(() => {
console.log(props.app.menuicons)
}, [props.app.menuicons])
function setListeners () {
props.app.sidePanel.events.on('toggle', () => {
setHideSidePanel(prev => {

@ -13,11 +13,6 @@ const RemixUIPanelPlugin = (props: panelPLuginProps, panelRef: any) => {
const ref:any = panelRef || localRef
if (ref.current) {
if(React.isValidElement(props.pluginRecord.view)) {
// console.log('is REACT element', props.pluginRecord.profile.name)
}else{
console.info('is HTML element', props.pluginRecord.profile.name)
}
if (props.pluginRecord.view) {
if (React.isValidElement(props.pluginRecord.view)) {
setView(props.pluginRecord.view)

Loading…
Cancel
Save