From 583237b95b2bfda99c1c39e8c21832e0d925905d Mon Sep 17 00:00:00 2001 From: Robin Cussol Date: Tue, 7 Apr 2020 15:30:48 +0200 Subject: [PATCH] fix(examples): hide "undefined" domain in HN example (#4643) * fix(examples): hide "undefined" domain in HN example This commit introduces a null-undefined check against the domain of the HN items in the Hacker News example. * Update site/content/examples/21-miscellaneous/01-hacker-news/Item.svelte Co-Authored-By: Antony Jones Co-authored-by: Antony Jones --- .../examples/21-miscellaneous/01-hacker-news/Item.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/site/content/examples/21-miscellaneous/01-hacker-news/Item.svelte b/site/content/examples/21-miscellaneous/01-hacker-news/Item.svelte index 802ab437f7..608d04e497 100644 --- a/site/content/examples/21-miscellaneous/01-hacker-news/Item.svelte +++ b/site/content/examples/21-miscellaneous/01-hacker-news/Item.svelte @@ -28,7 +28,9 @@