Try 100 chars instead
This commit is contained in:
parent
5606bf665c
commit
894c93d87e
|
@ -92,7 +92,7 @@ export function getHtml(parsedReq: ParsedRequest) {
|
||||||
creatorUsername,
|
creatorUsername,
|
||||||
creatorAvatarUrl,
|
creatorAvatarUrl,
|
||||||
} = parsedReq
|
} = parsedReq
|
||||||
const MAX_QUESTION_CHARS = 120
|
const MAX_QUESTION_CHARS = 100
|
||||||
const truncatedQuestion = question.length > MAX_QUESTION_CHARS
|
const truncatedQuestion = question.length > MAX_QUESTION_CHARS
|
||||||
? question.slice(0, MAX_QUESTION_CHARS) + '...'
|
? question.slice(0, MAX_QUESTION_CHARS) + '...'
|
||||||
: question
|
: question
|
||||||
|
|
Loading…
Reference in New Issue
Block a user