summaryrefslogtreecommitdiff
path: root/examples/hackernews/src
diff options
context:
space:
mode:
authorGravatar Viktor Szépe <viktor@szepe.net> 2024-05-01 07:56:38 +0200
committerGravatar GitHub <noreply@github.com> 2024-05-01 13:56:38 +0800
commita146cf1012483b030a8146fb3035801f3c0c9099 (patch)
treeddececa7326f41bbcdf4e44b7205f6a43e4e8efa /examples/hackernews/src
parent1b7ed7a31a3a7a244440562a8e16aac1617c0114 (diff)
downloadastro-a146cf1012483b030a8146fb3035801f3c0c9099.tar.gz
astro-a146cf1012483b030a8146fb3035801f3c0c9099.tar.zst
astro-a146cf1012483b030a8146fb3035801f3c0c9099.zip
Fix typos (#10923)
Diffstat (limited to 'examples/hackernews/src')
-rw-r--r--examples/hackernews/src/lib/api.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hackernews/src/lib/api.ts b/examples/hackernews/src/lib/api.ts
index 61fc2f9ab..49fd0c333 100644
--- a/examples/hackernews/src/lib/api.ts
+++ b/examples/hackernews/src/lib/api.ts
@@ -14,7 +14,7 @@ export default async function fetchAPI(path: string) {
}
return JSON.parse(text);
} catch (e) {
- console.error(`Recevied from API: ${text}`);
+ console.error(`Received from API: ${text}`);
console.error(e);
return { error: e };
}