chore: fix some typos in comments (#4205)
Signed-off-by: CoolCu <coolcui@qq.com>
This commit is contained in:
parent
41d8005f0b
commit
f729e46bb0
4 changed files with 6 additions and 6 deletions
|
|
@ -35,7 +35,7 @@ export const OAuthOptions: React.FC<Props> = observer((props) => {
|
|||
const response = await authService.socialAuth(socialAuthPayload);
|
||||
|
||||
if (response) handleSignInRedirection();
|
||||
} else throw Error("Cant find credentials");
|
||||
} else throw Error("Can't find credentials");
|
||||
} catch (err: any) {
|
||||
setToastAlert({
|
||||
title: "Error signing in!",
|
||||
|
|
@ -56,7 +56,7 @@ export const OAuthOptions: React.FC<Props> = observer((props) => {
|
|||
const response = await authService.socialAuth(socialAuthPayload);
|
||||
|
||||
if (response) handleSignInRedirection();
|
||||
} else throw Error("Cant find credentials");
|
||||
} else throw Error("Can't find credentials");
|
||||
} catch (err: any) {
|
||||
setToastAlert({
|
||||
title: "Error signing in!",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue