diff --git a/src/screens/MasterPassword/Login/index.tsx b/src/screens/MasterPassword/Login/index.tsx index b4ce6be80..a66f485ec 100644 --- a/src/screens/MasterPassword/Login/index.tsx +++ b/src/screens/MasterPassword/Login/index.tsx @@ -157,7 +157,7 @@ const Login: React.FC = ({ navigation }) => { return; } if (Platform.OS === 'ios') { - // Because only iOS-Face ID is require permission, then we need to check permission's availbility + // Because only iOS-Face ID is require permission, then we need to check permission's availability (async () => { try { const isBiometricAvailable = await getSupportedBiometryType(); diff --git a/src/screens/Transaction/helper/staking/stakingHandler.ts b/src/screens/Transaction/helper/staking/stakingHandler.ts index b79062d33..21d76c1b4 100644 --- a/src/screens/Transaction/helper/staking/stakingHandler.ts +++ b/src/screens/Transaction/helper/staking/stakingHandler.ts @@ -38,7 +38,7 @@ export function getWaitingTime(currentTimestampMs: number, targetTimestampMs?: n } else { const remainingTimeHr = remainingTimestampMs / 1000 / 60 / 60; - // Formatted waitting time without round up + // Formatted waiting time without round up const _formattedWaitingTime = humanizeDuration(remainingTimestampMs, { units: remainingTimeHr >= 24 ? ['d', 'h'] : ['h', 'm'], @@ -60,7 +60,7 @@ export function getWaitingTime(currentTimestampMs: number, targetTimestampMs?: n }, // TODO: should not be shorten }) as string; - // Formatted waitting time with round up + // Formatted waiting time with round up const formattedWaitingTime = _formattedWaitingTime .split(' ') .map((segment, index) => { diff --git a/src/stores/base/RequestState.ts b/src/stores/base/RequestState.ts index 32e5be2af..c69b6bfb5 100644 --- a/src/stores/base/RequestState.ts +++ b/src/stores/base/RequestState.ts @@ -20,7 +20,7 @@ const initialState: RequestState = { transactionRequest: {}, connectWCRequest: {}, - // Type of confirmation requets + // Type of confirmation requests addNetworkRequest: {}, addTokenRequest: {}, switchNetworkRequest: {}, diff --git a/src/utils/scanner/decoders.ts b/src/utils/scanner/decoders.ts index 43578eaaf..fb292c245 100644 --- a/src/utils/scanner/decoders.ts +++ b/src/utils/scanner/decoders.ts @@ -234,7 +234,7 @@ export const constructDataFromBytes = ( } default: - throw new Error('Payload is not formated correctly: ' + bytes.toString()); + throw new Error('Payload is not formatted correctly: ' + bytes.toString()); } } catch (e: unknown) { if (e instanceof Error) {