From 0d352649752493903d2a3726f94bd4a94746b70f Mon Sep 17 00:00:00 2001 From: zhoufanjin Date: Sat, 27 Jul 2024 19:47:18 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: zhoufanjin --- app/components/CardList.tsx | 2 +- iam/README.md | 2 +- iam/src/utils/challenge.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/components/CardList.tsx b/app/components/CardList.tsx index 8287842b8d..d8529f175f 100644 --- a/app/components/CardList.tsx +++ b/app/components/CardList.tsx @@ -81,7 +81,7 @@ export const CardList = ({ className, isLoading = false, initialOpen = true }: C ); useEffect(() => { - // update all verfied states + // update all verified states setSelectedProviders( PLATFORMS.reduce((platforms, platform) => { // get all providerIds for this platform diff --git a/iam/README.md b/iam/README.md index 2d81ab9528..c41156e38d 100644 --- a/iam/README.md +++ b/iam/README.md @@ -35,7 +35,7 @@ There are a few options for adding the variable into the build process: - Add the value to AWS Secrets Manager, and add a new item to the `secrets` array in the `iam` container definition. **Note that you will have to add it to all AWS Secrets Manager resources in all AWS accounts used.** - Add the value to Github Actions Secrets and inject it into the process environment IAM-related workflows on the Pulumi - deploy step. Pull the variable into the Pulumi files using `proccess.env.NEW_VAR`, and refer to + deploy step. Pull the variable into the Pulumi files using `process.env.NEW_VAR`, and refer to that variable in the `secrets` array. - (If the value can be public) Hardcode the value in plaintext into the Github Actions script and feed it into the Pulumi file as described above. Alternatively, hardcode the value into the Pulumi file directly. Also note that it can diff --git a/iam/src/utils/challenge.ts b/iam/src/utils/challenge.ts index c345cfdbea..d273d7812a 100644 --- a/iam/src/utils/challenge.ts +++ b/iam/src/utils/challenge.ts @@ -5,7 +5,7 @@ import { verifyDidChallenge } from "./verifyDidChallenge.js"; import { utils } from "ethers"; // request a challenge sig export const getChallenge = (payload: RequestPayload): ChallengePayload => { - // @TODO - expand this to allow providers to set custom challanges? + // @TODO - expand this to allow providers to set custom challenges? const getChallengeString = (provider: string, nonce: string): string => { switch (provider) { case "SignerChallenge":