Skip to content

Commit

Permalink
fix typos (#1343)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaut authored Apr 8, 2024
1 parent d8e7eca commit 8cfae22
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export default class Extension {

this.#state.updateAuthorizedAccounts(authorizedAccountsDiff);

// cycle through default account selection for auth and remove any occurence of the account
// cycle through default account selection for auth and remove any occurrence of the account
const newDefaultAuthAccounts = this.#state.defaultAuthAccountSelection.filter((defaultSelectionAddress) => defaultSelectionAddress !== address);

this.#state.updateDefaultAuthAccounts(newDefaultAuthAccounts);
Expand Down
2 changes: 1 addition & 1 deletion packages/extension-base/src/page/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Injected from './Injected.js';
// when sending a message from the injector to the extension, we
// - create an event - this we send to the loader
// - the loader takes this event and uses port.postMessage to background
// - on response, the loader creates a reponse event
// - on response, the loader creates a response event
// - this injector, listens on the events, maps it to the original
// - resolves/rejects the promise with the result (or sub data)

Expand Down
4 changes: 2 additions & 2 deletions packages/extension-dapp/src/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ export function web3Enable (originName: string, compatInits: (() => Promise<bool
/**
* @summary Retrieves all the accounts across all providers
* @description
* This returns the full list of account available (accross all extensions) to
* the page. Filtereing options are available of a per-extension, per type and
* This returns the full list of account available (across all extensions) to
* the page. Filtering options are available of a per-extension, per type and
* per-genesisHash basis. Optionally the accounts can be encoded with the provided
* ss58Format
*/
Expand Down

0 comments on commit 8cfae22

Please sign in to comment.