Skip to content

Commit 47a703f

Browse files
authored
Fix typos and spelling errors in documentation (#1447)
* Update opengraph-image.tsx * Update cardImage.svg.tsx * Update [tokenId].ts
1 parent 5300ed6 commit 47a703f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/web/app/(basenames)/name/[username]/opengraph-image.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export default async function OpenGraphImage(props: ImageRouteProps) {
7171
const chain = getChainForBasename(username as Basename);
7272
let imageSource = domainName + profilePicture.src;
7373

74-
// NOTE: Do we want to fail if the name doesn't exists?
74+
// NOTE: Do we want to fail if the name doesn't exist?
7575
try {
7676
const client = getBasenamePublicClient(chain.id);
7777
const avatar = await client.getEnsText({

apps/web/pages/api/basenames/[name]/assets/cardImage.svg.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export default async function handler(request: NextRequest) {
7373
logger.error('Error fetching basename Avatar:', error);
7474
}
7575

76-
// Using Satori for a SVG response
76+
// Using Satori for an SVG response
7777
const svg = await satori(
7878
<div
7979
style={{

apps/web/pages/api/basenames/metadata/[tokenId].ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default async function GET(request: Request) {
5656
logger.error('Error getting token metadata', error);
5757
}
5858

59-
// Premints are hardcoded, the list will reduce when/if they get claimed
59+
// Premints are hardcoded; the list will reduce when/if they are claimed
6060
if (!basenameFormatted && premintMapping[tokenId]) {
6161
basenameFormatted = formatBaseEthDomain(premintMapping[tokenId], chainId);
6262
}

0 commit comments

Comments
 (0)