From f729e46bb0ebfce15bff4e061bada938718e87ad Mon Sep 17 00:00:00 2001 From: CoolCu <166844316+CoolCu@users.noreply.github.com> Date: Tue, 16 Apr 2024 18:18:11 +0800 Subject: [PATCH] chore: fix some typos in comments (#4205) Signed-off-by: CoolCu --- apiserver/plane/api/views/cycle.py | 2 +- space/components/accounts/sign-in-forms/o-auth-options.tsx | 4 ++-- web/components/account/o-auth/o-auth-options.tsx | 4 ++-- web/components/core/render-if-visible-HOC.tsx | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apiserver/plane/api/views/cycle.py b/apiserver/plane/api/views/cycle.py index c7df49b39..d9c75ff41 100644 --- a/apiserver/plane/api/views/cycle.py +++ b/apiserver/plane/api/views/cycle.py @@ -746,7 +746,7 @@ class CycleIssueAPIEndpoint(WebhookMixin, BaseAPIView): class TransferCycleIssueAPIEndpoint(BaseAPIView): """ - This viewset provides `create` actions for transfering the issues into a particular cycle. + This viewset provides `create` actions for transferring the issues into a particular cycle. """ diff --git a/space/components/accounts/sign-in-forms/o-auth-options.tsx b/space/components/accounts/sign-in-forms/o-auth-options.tsx index b546d9d3f..d6222bccb 100644 --- a/space/components/accounts/sign-in-forms/o-auth-options.tsx +++ b/space/components/accounts/sign-in-forms/o-auth-options.tsx @@ -35,7 +35,7 @@ export const OAuthOptions: React.FC = 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 = 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!", diff --git a/web/components/account/o-auth/o-auth-options.tsx b/web/components/account/o-auth/o-auth-options.tsx index 1dd970fd6..4e2c5e288 100644 --- a/web/components/account/o-auth/o-auth-options.tsx +++ b/web/components/account/o-auth/o-auth-options.tsx @@ -36,7 +36,7 @@ export const OAuthOptions: React.FC = 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) { setToast({ type: TOAST_TYPE.ERROR, @@ -57,7 +57,7 @@ export const OAuthOptions: React.FC = 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) { setToast({ type: TOAST_TYPE.ERROR, diff --git a/web/components/core/render-if-visible-HOC.tsx b/web/components/core/render-if-visible-HOC.tsx index 585ba7769..b6d587559 100644 --- a/web/components/core/render-if-visible-HOC.tsx +++ b/web/components/core/render-if-visible-HOC.tsx @@ -24,7 +24,7 @@ const RenderIfVisible: React.FC = (props) => { as = "div", children, classNames = "", - alwaysRender = false, //render the children even if it is not visble in root + alwaysRender = false, //render the children even if it is not visible in root placeholderChildren = null, //placeholder children pauseHeightUpdateWhileRendering = false, //while this is true the height of the blocks are maintained changingReference, //This is to force render when this reference is changed