forked from github/plane
chore: fix some typos in comments (#4205)
Signed-off-by: CoolCu <coolcui@qq.com>
This commit is contained in:
parent
41d8005f0b
commit
f729e46bb0
@ -746,7 +746,7 @@ class CycleIssueAPIEndpoint(WebhookMixin, BaseAPIView):
|
|||||||
|
|
||||||
class TransferCycleIssueAPIEndpoint(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.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ export const OAuthOptions: React.FC<Props> = observer((props) => {
|
|||||||
const response = await authService.socialAuth(socialAuthPayload);
|
const response = await authService.socialAuth(socialAuthPayload);
|
||||||
|
|
||||||
if (response) handleSignInRedirection();
|
if (response) handleSignInRedirection();
|
||||||
} else throw Error("Cant find credentials");
|
} else throw Error("Can't find credentials");
|
||||||
} catch (err: any) {
|
} catch (err: any) {
|
||||||
setToastAlert({
|
setToastAlert({
|
||||||
title: "Error signing in!",
|
title: "Error signing in!",
|
||||||
@ -56,7 +56,7 @@ export const OAuthOptions: React.FC<Props> = observer((props) => {
|
|||||||
const response = await authService.socialAuth(socialAuthPayload);
|
const response = await authService.socialAuth(socialAuthPayload);
|
||||||
|
|
||||||
if (response) handleSignInRedirection();
|
if (response) handleSignInRedirection();
|
||||||
} else throw Error("Cant find credentials");
|
} else throw Error("Can't find credentials");
|
||||||
} catch (err: any) {
|
} catch (err: any) {
|
||||||
setToastAlert({
|
setToastAlert({
|
||||||
title: "Error signing in!",
|
title: "Error signing in!",
|
||||||
|
@ -36,7 +36,7 @@ export const OAuthOptions: React.FC<Props> = observer((props) => {
|
|||||||
const response = await authService.socialAuth(socialAuthPayload);
|
const response = await authService.socialAuth(socialAuthPayload);
|
||||||
|
|
||||||
if (response) handleSignInRedirection();
|
if (response) handleSignInRedirection();
|
||||||
} else throw Error("Cant find credentials");
|
} else throw Error("Can't find credentials");
|
||||||
} catch (err: any) {
|
} catch (err: any) {
|
||||||
setToast({
|
setToast({
|
||||||
type: TOAST_TYPE.ERROR,
|
type: TOAST_TYPE.ERROR,
|
||||||
@ -57,7 +57,7 @@ export const OAuthOptions: React.FC<Props> = observer((props) => {
|
|||||||
const response = await authService.socialAuth(socialAuthPayload);
|
const response = await authService.socialAuth(socialAuthPayload);
|
||||||
|
|
||||||
if (response) handleSignInRedirection();
|
if (response) handleSignInRedirection();
|
||||||
} else throw Error("Cant find credentials");
|
} else throw Error("Can't find credentials");
|
||||||
} catch (err: any) {
|
} catch (err: any) {
|
||||||
setToast({
|
setToast({
|
||||||
type: TOAST_TYPE.ERROR,
|
type: TOAST_TYPE.ERROR,
|
||||||
|
@ -24,7 +24,7 @@ const RenderIfVisible: React.FC<Props> = (props) => {
|
|||||||
as = "div",
|
as = "div",
|
||||||
children,
|
children,
|
||||||
classNames = "",
|
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
|
placeholderChildren = null, //placeholder children
|
||||||
pauseHeightUpdateWhileRendering = false, //while this is true the height of the blocks are maintained
|
pauseHeightUpdateWhileRendering = false, //while this is true the height of the blocks are maintained
|
||||||
changingReference, //This is to force render when this reference is changed
|
changingReference, //This is to force render when this reference is changed
|
||||||
|
Loading…
Reference in New Issue
Block a user