From 6c65885990e6ab5768123772559570fe69b7e5a6 Mon Sep 17 00:00:00 2001 From: MrOrz Date: Sat, 25 Feb 2023 19:14:20 +0800 Subject: [PATCH] Don't throw error when article does not have ID - articleUserId is just used in reporting user, should not block page from rendering --- pages/article/[id].js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/article/[id].js b/pages/article/[id].js index dfc16454..faf365cf 100644 --- a/pages/article/[id].js +++ b/pages/article/[id].js @@ -470,7 +470,7 @@ function ArticlePage() { { setShowForm(true); // use setTimeout to make sure the form has shown