mirror of https://github.com/tooot-app/app
Merge pull request #493 from de1acr0ix/fix-undefined-in-dm
Fix the "undefined" string in DM
This commit is contained in:
commit
b80c84f181
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue