Skip to content

Commit 2f90a40

Browse files
committed
🐛 FIX: edge case
1 parent 395bcdc commit 2f90a40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

utils/results.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ module.exports = (results, order, sort) => {
4343

4444
results.map(result => {
4545
const infoObj = {
46-
title: result.title,
46+
title: typeof result.title === 'undefined' ? '' : result.title,
4747
body: format(result.body_markdown),
4848
answers: threadAns(result.answers)
4949
};

0 commit comments

Comments
 (0)