largegittest2
bunsenstraat 3 months ago
parent 8c218e28c3
commit 00dc873319
  1. 2
      libs/remix-ui/git/src/components/gitui.tsx
  2. 3
      libs/remix-ui/git/src/components/panels/init.tsx
  3. 2
      libs/remix-ui/git/src/components/panels/setup.tsx

@ -175,6 +175,8 @@ export const GitUI = (props: IGitUi) => {
<BranchHeader />
{setup ? <Setup></Setup> : null}
{needsInit ? <Init></Init> : null}
{setup || needsInit ? <><hr></hr><h5>CLONE</h5>
<Clone hideLoadFromGitHub={setup}></Clone></> : null}
{!setup && !needsInit ?
<Accordion activeKey={activePanel} defaultActiveKey="0" className="">
<SourceControlNavigation eventKey={gitUIPanels.SOURCECONTROL} activePanel={activePanel} callback={setActivePanel} />

@ -27,9 +27,6 @@ export const Init = () => {
><FormattedMessage id='git.init' /></GitUIButton>
</div>
</div>
<hr></hr>
<h5>CLONE</h5>
<Clone></Clone>
</>
)
}

@ -20,8 +20,6 @@ export const Setup = () => {
<hr></hr>
<GitHubCredentials></GitHubCredentials>
</div>
<h5>CLONE</h5>
<Clone hideLoadFromGitHub={true}></Clone>
</>
)
} else if (screen === 1) {

Loading…
Cancel
Save