chore: fix typos
This commit is contained in:
@@ -121,7 +121,6 @@ export const userApi = createApi({
|
||||
url: `admin/user/bot-api-key/${uid}`,
|
||||
method: "POST",
|
||||
body: { name },
|
||||
// responseHandler: (response: Response) => response.text()
|
||||
}),
|
||||
|
||||
}),
|
||||
|
||||
@@ -53,7 +53,7 @@ const GithubCallback: FC<Props> = ({ code, from = "webapp" }) => {
|
||||
if (error) return <span>Something Error</span>;
|
||||
return <section className='flex flex-col gap-3 justify-center items-center'>
|
||||
{isSuccess && from == 'widget' && <h1>Please close this window and return widget window</h1>}
|
||||
<span className='text-3xl text-green-600 font-bold'>{isLoading ? "Github Logging in..." : "Github Login Success!"}</span>
|
||||
<span className='text-3xl text-green-600 font-bold'>{isLoading ? "GitHub Logging in..." : "GitHub Login Success!"}</span>
|
||||
</section>;
|
||||
};
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ const Tools: React.FC<Props> = ({ expand = true }) => {
|
||||
<div className="logo">
|
||||
<IoLogoGithub size={40} className="icon" />
|
||||
</div>
|
||||
{expand && <h2 className="title animate__animated animate__fadeIn">Github</h2>}
|
||||
{expand && <h2 className="title animate__animated animate__fadeIn">GitHub</h2>}
|
||||
</li>
|
||||
<li className="tool add">
|
||||
<div className="logo">
|
||||
|
||||
@@ -142,14 +142,14 @@ export default function Logins() {
|
||||
disabled={!github}
|
||||
data-key={"client_id"}
|
||||
onChange={handleGithubAuthChange}
|
||||
placeholder="Github Client ID"
|
||||
placeholder="GitHub Client ID"
|
||||
value={githubAuthConfig?.client_id}
|
||||
/>
|
||||
<Input
|
||||
disabled={!github}
|
||||
data-key={"client_secret"}
|
||||
onChange={handleGithubAuthChange}
|
||||
placeholder="Github Client Secret"
|
||||
placeholder="GitHub Client Secret"
|
||||
value={githubAuthConfig?.client_secret}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -93,7 +93,7 @@ const navs = [
|
||||
component: <ul className="flex flex-col gap-2 text-lg">
|
||||
<li>Email: <strong className="font-bold">han@privoce.com</strong></li>
|
||||
<li>Wechat: <strong className="font-bold">Privoce</strong></li>
|
||||
<li>Github:
|
||||
<li>GitHub:
|
||||
<strong className="font-bold">
|
||||
<a className="text-[#06b6d4] underline underline-offset-2" href="https://github.com/Privoce/vocechat-web/issues" target="_blank" rel="noopener noreferrer">vocechat-web/issues</a>
|
||||
</strong>
|
||||
|
||||
Reference in New Issue
Block a user