Fix the "undefined" string in DM

This commit is contained in:
Hanjiang Yu 2022-11-28 21:42:01 +08:00
parent bd750da9d5
commit c60de7a5a1
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ const ScreenCompose: React.FC<RootStackScreenProps<'Screen-Compose'>> = ({
textInput: 'text', textInput: 'text',
composeDispatch, composeDispatch,
content: content:
(params.text && `${params.text}\n`) + (params.text ? `${params.text}\n` : '') +
params.accts.map(acct => `@${acct}`).join(' ') + params.accts.map(acct => `@${acct}`).join(' ') +
' ', ' ',
disableDebounce: true disableDebounce: true