summaryrefslogtreecommitdiff
path: root/examples/hackernews/src
diff options
context:
space:
mode:
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 };
}