Try 100 chars instead

This commit is contained in:
Austin Chen 2022-04-29 16:44:39 -04:00 committed by GitHub
parent 5606bf665c
commit 894c93d87e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,7 +92,7 @@ export function getHtml(parsedReq: ParsedRequest) {
creatorUsername,
creatorAvatarUrl,
} = parsedReq
const MAX_QUESTION_CHARS = 120
const MAX_QUESTION_CHARS = 100
const truncatedQuestion = question.length > MAX_QUESTION_CHARS
? question.slice(0, MAX_QUESTION_CHARS) + '...'
: question