checkpoint unified media
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import {type ThreadPost} from '#/components/ComposerV2/store/types'
|
||||
import {computePostMediaSelectionsRemaining} from '#/components/ComposerV2/store/utils/computePostMediaSelectionsRemaining'
|
||||
|
||||
export function buildThreadPost(): ThreadPost {
|
||||
return {
|
||||
text: '',
|
||||
langs: [],
|
||||
labels: [],
|
||||
media: [],
|
||||
external: undefined,
|
||||
quote: undefined,
|
||||
...computePostMediaSelectionsRemaining([]),
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user