diff --git a/libs/remix-ui/git/src/components/gitui.tsx b/libs/remix-ui/git/src/components/gitui.tsx index 1e20d0d9f3..604b218124 100644 --- a/libs/remix-ui/git/src/components/gitui.tsx +++ b/libs/remix-ui/git/src/components/gitui.tsx @@ -29,6 +29,7 @@ import { SourceControlBase } from './buttons/sourceControlBase' import { BranchHeader } from './branchHeader' import { SourceControl } from './panels/sourcontrol' import { GitHubCredentials } from './panels/githubcredentials' +import { Setup } from './panels/setup' export const gitPluginContext = React.createContext(defaultGitState) export const loaderContext = React.createContext(defaultLoaderState) @@ -127,7 +128,7 @@ export const GitUI = (props: IGitUi) => { - + diff --git a/libs/remix-ui/git/src/components/panels/githubcredentials.tsx b/libs/remix-ui/git/src/components/panels/githubcredentials.tsx index f4866af346..677df74bcd 100644 --- a/libs/remix-ui/git/src/components/panels/githubcredentials.tsx +++ b/libs/remix-ui/git/src/components/panels/githubcredentials.tsx @@ -1,4 +1,3 @@ -import { checkout, clone, ReadCommitResult } from "isomorphic-git"; import React, { useEffect } from "react"; import { gitActionsContext, pluginActionsContext } from "../../state/context"; import { gitPluginContext, loaderContext } from "../gitui"; @@ -6,7 +5,6 @@ import { CustomTooltip } from "@remix-ui/helper"; import { useIntl, FormattedMessage } from "react-intl"; import { CopyToClipboard } from "@remix-ui/clipboard"; -import { FormControl, InputGroup } from "react-bootstrap"; export const GitHubCredentials = () => { const context = React.useContext(gitPluginContext) @@ -69,8 +67,8 @@ export const GitHubCredentials = () => { - handleChangeUserNameState(e.target.value)} value={githubUsername} className="form-control mb-1" placeholder="GitHub username" type="text" id="githubUsername" /> - handleChangeEmailState(e.target.value)} value={githubEmail} className="form-control mb-1" placeholder="GitHub email" type="text" id="githubEmail" /> + handleChangeUserNameState(e.target.value)} value={githubUsername} className="form-control mb-1" placeholder="Git username" type="text" id="githubUsername" /> + handleChangeEmailState(e.target.value)} value={githubEmail} className="form-control mb-1" placeholder="Git email" type="text" id="githubEmail" />