clean console log

pull/4774/head
Joseph Izang 7 months ago
parent 553792c6af
commit 6ad14c0044
  1. 5
      apps/remix-ide/src/app/components/status-bar.tsx
  2. 2
      libs/remix-ui/app/src/lib/remix-app/remix-app.tsx
  3. 1
      libs/remix-ui/statusbar/src/lib/components/gitStatus.tsx
  4. 6
      libs/remix-ui/statusbar/src/lib/remixui-statusbar-panel.tsx

@ -42,10 +42,9 @@ export class StatusBar extends Plugin {
}
render() {
<div data-id="status-bar-container">
test
return (<div data-id="status-bar-container">
<PluginViewWrapper plugin={this} />
</div>
</div>)
}
}

@ -168,7 +168,7 @@ const RemixApp = (props: IRemixAppUi) => {
}
}
console.log('statusbar', props.app.statusBar)
return (
//@ts-ignore
<IntlProvider locale={locale.code} messages={locale.messages}>

@ -1,5 +1,6 @@
import React from 'react'
//use placeholder data to show the small section of the statusbar for git
export default function GitStatus() {
return (
<div className="d-flex flex-row">

@ -7,6 +7,12 @@ export interface RemixUIStatusBarProps {
}
export function RemixUIStatusBar ({ statusBarPlugin }: RemixUIStatusBarProps) {
const getGitBranchName = async () => {
return new Promise((resolve, recject) => {
return 0
})
}
return (
<div className="d-flex flex-row bg-primary">
<GitStatus />

Loading…
Cancel
Save