From 3b710dc2ab857a397401a5dbccc48c085448dda9 Mon Sep 17 00:00:00 2001 From: occupyhabit Date: Mon, 2 Dec 2024 22:14:01 +0800 Subject: [PATCH] chore: fix some typos in comment Signed-off-by: occupyhabit --- src/helpers/CryptoHelper.ts | 2 +- src/helpers/EPNSCoreHelper.ts | 2 +- .../channelDashboard/components/UserChannelDashboard.tsx | 2 +- src/redux/slices/adminSlice.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/helpers/CryptoHelper.ts b/src/helpers/CryptoHelper.ts index 427492aa70..03c6135342 100644 --- a/src/helpers/CryptoHelper.ts +++ b/src/helpers/CryptoHelper.ts @@ -210,7 +210,7 @@ const CryptoHelper = { const decryptionTime: number = new Date().getTime() - startTime.getTime() - encryptionTime; console.debug('[ENCRYPTION / DECRYPTION DECRYPTION DONE] - ' + decryptionTime / 1000 + ' secs'); }, - // To output messge payload if required + // To output message payload if required outputMsgPayload: async function ({ secret, subject, diff --git a/src/helpers/EPNSCoreHelper.ts b/src/helpers/EPNSCoreHelper.ts index ac3f53923d..1947a3179d 100644 --- a/src/helpers/EPNSCoreHelper.ts +++ b/src/helpers/EPNSCoreHelper.ts @@ -120,7 +120,7 @@ const EPNSCoreHelper = { const enableLogs: number = 0; return new Promise((resolve, reject) => { - // Split Channel Identity, delimeter of identity is "+" + // Split Channel Identity, delimiter of identity is "+" if (!identity) { reject(`There is no identity file for channel: ${channel}`); } diff --git a/src/modules/channelDashboard/components/UserChannelDashboard.tsx b/src/modules/channelDashboard/components/UserChannelDashboard.tsx index add3a1b8c6..414c022354 100644 --- a/src/modules/channelDashboard/components/UserChannelDashboard.tsx +++ b/src/modules/channelDashboard/components/UserChannelDashboard.tsx @@ -38,7 +38,7 @@ const UserChannelDashboard: FC = ({ * 2. Check If the Filtered alias exists and is verified or not * 3. If verified, then it is an active network (means: Channel is present and is active on this chain) * 4. If not, then it is not on active network -> then we pass filtered alias details to the ChannelDashboardNullChain to check if loading or not - * 5. We check that alias is present and is_alias_verified is 0 (alias not verified), then we show laoding state + * 5. We check that alias is present and is_alias_verified is 0 (alias not verified), then we show loading state * 6. If alias is not present, then we show add new chain button */ diff --git a/src/redux/slices/adminSlice.js b/src/redux/slices/adminSlice.js index cab5233622..ce3477d106 100644 --- a/src/redux/slices/adminSlice.js +++ b/src/redux/slices/adminSlice.js @@ -1,6 +1,6 @@ /** * This file helps us to maintain the state of the logged in user user(if they have an account) - * as well as the privilidges the logged in user has + * as well as the privileges the logged in user has */ // External Packages