pl-fe: maybe fix drafts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
36aadabf5f
commit
943366b6bf
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ const buildStatus = (state: RootState, draftStatus: DraftStatus) => {
|
||||||
const account = state.entities[Entities.ACCOUNTS]?.store[me];
|
const account = state.entities[Entities.ACCOUNTS]?.store[me];
|
||||||
|
|
||||||
const status = statusSchema.parse({
|
const status = statusSchema.parse({
|
||||||
|
id: 'draft',
|
||||||
account,
|
account,
|
||||||
content: draftStatus.text.replace(new RegExp('\n', 'g'), '<br>'), /* eslint-disable-line no-control-regex */
|
content: draftStatus.text.replace(new RegExp('\n', 'g'), '<br>'), /* eslint-disable-line no-control-regex */
|
||||||
created_at: draftStatus.schedule,
|
created_at: draftStatus.schedule,
|
||||||
|
|
Loading…
Reference in a new issue