Fix some minor typos. (#6238)

This commit is contained in:
Ray Hong
2023-12-02 22:29:11 +08:00
committed by GitHub
parent 25be2fee40
commit 31021172e7
2 changed files with 4 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ ${teamUrl}/home
}
protected render({ teamUrl }: Props) {
const welcomLink = `${teamUrl}/home?ref=welcome-email`;
const welcomeLink = `${teamUrl}/home?ref=welcome-email`;
return (
<EmailTemplate previewText={this.preview()}>
@@ -64,7 +64,7 @@ ${teamUrl}/home
</p>
<EmptySpace height={10} />
<p>
<Button href={welcomLink}>Open {env.APP_NAME}</Button>
<Button href={welcomeLink}>Open {env.APP_NAME}</Button>
</p>
</Body>

View File

@@ -41,7 +41,7 @@ export class Environment {
}
/**
* The current envionment name.
* The current environment name.
*/
@IsIn(["development", "production", "staging", "test"])
public ENVIRONMENT = process.env.NODE_ENV ?? "production";
@@ -442,7 +442,7 @@ export class Environment {
);
/**
* OICD client credentials. To enable authentication with any
* OIDC client credentials. To enable authentication with any
* compatible provider.
*/
@IsOptional()