Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typographical errors #1587

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const contentSecurityPolicy = {
'https://i.seadn.io/', // ens avatars
'https://api.opensea.io', // enables getting ENS avatars
'https://ipfs.io', // ipfs ens avatar resolution
'https://cloudflare-ipfs.com', // ipfs Cloudfare ens avatar resolution
'https://cloudflare-ipfs.com', // ipfs Cloudflare ens avatar resolution
'wss://www.walletlink.org',
'https://base.easscan.org/graphql',
'https://api.guild.xyz/',
Expand All @@ -131,7 +131,7 @@ const contentSecurityPolicy = {
'https://*.walletconnect.com/', // WalletConnect
'https://i.seadn.io/', // ens avatars
'https://ipfs.io', // ipfs ens avatar resolution
'https://cloudflare-ipfs.com', // ipfs Cloudfare ens avatar resolution
'https://cloudflare-ipfs.com', // ipfs Cloudflare ens avatar resolution
'https://res.cloudinary.com',
`https://${process.env.NEXT_PUBLIC_PINATA_GATEWAY_URL}`,
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ export default function ProfileTransferOwnershipProvider({

// If the setting transaction is Idle and either
// - Is the first transaction
// - Previous transaction is successfull
// - Previous transaction is successful
const canCallfunction =
ownershipSetting.status === WriteTransactionWithReceiptStatus.Idle &&
(currentIndex === 0 ||
Expand All @@ -336,7 +336,7 @@ export default function ProfileTransferOwnershipProvider({
() =>
// Smart wallet: One transaction
batchCallsStatus === BatchCallsStatus.Success ||
// Other wallet: 4 Transactions are successfull
// Other wallet: 4 Transactions are successful
(ownershipSettings.length > 0 &&
ownershipSettings.every(
(ownershipSetting) =>
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/hooks/useRegisterNameCallback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export function useRegisterNameCallback(
owner: address, // The address of the owner for the name.
duration: secondsInYears(years), // The duration of the registration in seconds.
resolver: USERNAME_L2_RESOLVER_ADDRESSES[basenameChain.id], // The address of the resolver to set for this name.
data: [addressData, nameData], // Multicallable data bytes for setting records in the associated resolver upon reigstration.
data: [addressData, nameData], // Multicallable data bytes for setting records in the associated resolver upon registration.
reverseRecord, // Bool to decide whether to set this name as the "primary" name for the `owner`.
};

Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/hooks/useWriteBaseEnsTextRecords.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ export type UseWriteBaseEnsTextRecordsProps = {
/*
A hook to set update TextRecords in a batch
Responsabilities:
Responsibilities:
- Get existing TextRecords
- Keep track of TextRecords updates
- Wait for the transaction to be processed
- Refetch records on successfull request
- Refetch records on successful request
- Log errors and analytics accordingly
*/
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/hooks/useWriteContractWithReceipt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { useAccount, useSwitchChain, useWaitForTransactionReceipt, useWriteContr
/*
A hook to request and track a wallet write transaction
Responsabilities:
Responsibilities:
- Track the wallet request status
- Track the transaction receipt and status
- Log analytics & error
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/hooks/useWriteContractsWithLogs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export enum BatchCallsStatus {
Processing = 'processing',
Reverted = 'reverted',

// UserOperationEvent and top transaction are successfull
// UserOperationEvent and top transaction are successful
Failed = 'failed',
Success = 'success',
}
Expand Down