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() { render() {
<div data-id="status-bar-container"> return (<div data-id="status-bar-container">
test
<PluginViewWrapper plugin={this} /> <PluginViewWrapper plugin={this} />
</div> </div>)
} }
} }

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

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

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

Loading…
Cancel
Save