@ -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() {
<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
})
<div className="d-flex flex-row bg-primary">
<GitStatus />