chore: fix typos

This commit is contained in:
Tristan Yang
2023-01-17 09:34:11 +08:00
parent 79e67c3c3f
commit 11a5b574dd
8 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -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>;
};
+1 -1
View File
@@ -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">
+2 -2
View File
@@ -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>
+1 -1
View File
@@ -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:&nbsp;
<li>GitHub:&nbsp;
<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>