From f72bec9e7a14477bcdf024db77c0a62811122392 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 3 Jan 2024 19:08:49 -0800 Subject: fix(feeds): return early if null --- src/routes/feeds/activity-notifications/+server.ts | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'src/routes/feeds') diff --git a/src/routes/feeds/activity-notifications/+server.ts b/src/routes/feeds/activity-notifications/+server.ts index 0cdc3bc1..a9698d72 100644 --- a/src/routes/feeds/activity-notifications/+server.ts +++ b/src/routes/feeds/activity-notifications/+server.ts @@ -33,12 +33,19 @@ const render = (posts: Notification[] = []) => ` ${notification.id} -- cgit v1.2.3