Skip to content

Commit 39a220b

Browse files
authored
Fix typos in documentation files (#719)
1 parent 0dfd40b commit 39a220b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/background/events.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export const emitter = createNanoEvents<{
7474
requestAccountsResolved: (data: {
7575
origin: string;
7676
address: string;
77-
/** {explicitly: true} means that user confirmed connection in a dialog. {false} means that we resolve a previously approved addess value */
77+
/** {explicitly: true} means that user confirmed connection in a dialog. {false} means that we resolve a previously approved address value */
7878
explicitly: boolean;
7979
}) => void;
8080
screenView: (data: ScreenViewParams) => void;

src/modules/crypto/aes.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe('encrypt function', () => {
1616
function createVeryLargeString() {
1717
// A large string will at some point be split into bytes by the encrypting function
1818
// and those bytes may be passed as arguments, but browsers have a different
19-
// limit on maximum number of agruments: https://stackoverflow.com/a/22747272/3523645
19+
// limit on maximum number of arguments: https://stackoverflow.com/a/22747272/3523645
2020
// As a solution we avoid doing that and have this test as a guard, but its outcome
2121
// may differ across javascript environments
2222
const uint8Array = crypto.getRandomValues(new Uint8Array(65536));

src/ui/DNA/pages/UpgradeDnaFlow/SelectDna.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export function SelectDna() {
170170
textAlign: 'center',
171171
}}
172172
>
173-
Backend is unavaliable
173+
Backend is unavailable
174174
<br />
175175
Please, try again later
176176
</UIText>

src/ui/hardware-wallet/shared/verifySandbox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const walletPort = new PortMessageChannel({
99

1010
export async function verifySandbox() {
1111
/**
12-
* We expect to be in an isolated sandbox enviroment
12+
* We expect to be in an isolated sandbox environment
1313
* To verify this, we try to query our own background script
1414
* It is EXPECTED to reject the request.
1515
* If it resolves successfully, we MUST halt the script

0 commit comments

Comments
 (0)