Skip to content

Commit 4549131

Browse files
authored
fix(route/zaobao): nullable keyword (#20272)
1 parent 04a17c0 commit 4549131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/routes/zaobao/util.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export const parseList = async (
7373
} else {
7474
title = ldJson.headline;
7575
pubDate = parseDate(ldJson.datePublished);
76-
category = ldJson.keywords.split(',');
76+
category = ldJson.keywords?.split(',');
7777
}
7878

7979
// $1('.overlay-microtransaction').remove();

0 commit comments

Comments
 (0)