From 707ff892d56e6287c8c1bc0b412aae56f6b3fd17 Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Tue, 30 Jan 2024 19:08:43 +0800 Subject: [PATCH] fix build --- components/Utterances.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Utterances.js b/components/Utterances.js index db707c2d89c..15ceb97a14d 100644 --- a/components/Utterances.js +++ b/components/Utterances.js @@ -16,8 +16,8 @@ const Utterances = ({ issueTerm, layout }) => { useEffect(() => { const anchor = document.getElementById('comments'); - if(!anchor){ - return + if (!anchor) { + return } const script = document.createElement('script'); script.onload = () => setLoading(false);