diff --git a/apps/remix-ide/src/app/components/status-bar.tsx b/apps/remix-ide/src/app/components/status-bar.tsx index 09fce7d529..cd0fe99ee1 100644 --- a/apps/remix-ide/src/app/components/status-bar.tsx +++ b/apps/remix-ide/src/app/components/status-bar.tsx @@ -42,10 +42,9 @@ export class StatusBar extends Plugin { } render() { -
- test + return (
-
+
) } } diff --git a/libs/remix-ui/app/src/lib/remix-app/remix-app.tsx b/libs/remix-ui/app/src/lib/remix-app/remix-app.tsx index eea8701c60..3e0bdec00e 100644 --- a/libs/remix-ui/app/src/lib/remix-app/remix-app.tsx +++ b/libs/remix-ui/app/src/lib/remix-app/remix-app.tsx @@ -168,7 +168,7 @@ const RemixApp = (props: IRemixAppUi) => { } } - + console.log('statusbar', props.app.statusBar) return ( //@ts-ignore diff --git a/libs/remix-ui/statusbar/src/lib/components/gitStatus.tsx b/libs/remix-ui/statusbar/src/lib/components/gitStatus.tsx index 0aa9b5a6e6..84bb47f092 100644 --- a/libs/remix-ui/statusbar/src/lib/components/gitStatus.tsx +++ b/libs/remix-ui/statusbar/src/lib/components/gitStatus.tsx @@ -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 (
diff --git a/libs/remix-ui/statusbar/src/lib/remixui-statusbar-panel.tsx b/libs/remix-ui/statusbar/src/lib/remixui-statusbar-panel.tsx index 1d4b7fca52..cba0915229 100644 --- a/libs/remix-ui/statusbar/src/lib/remixui-statusbar-panel.tsx +++ b/libs/remix-ui/statusbar/src/lib/remixui-statusbar-panel.tsx @@ -7,6 +7,12 @@ export interface RemixUIStatusBarProps { } export function RemixUIStatusBar ({ statusBarPlugin }: RemixUIStatusBarProps) { + + const getGitBranchName = async () => { + return new Promise((resolve, recject) => { + return 0 + }) + } return (