Fix error when sending new posts (#36869)

pull/36937/head
Claire 1 week ago
parent 6baa8f2466
commit 058f704c21

@ -32,7 +32,7 @@ export const loadPending = timeline => ({
timeline,
});
export function updateTimeline(timeline, status, { accept = undefined, bogusQuotePolicy = false }) {
export function updateTimeline(timeline, status, { accept = undefined, bogusQuotePolicy = false } = {}) {
return (dispatch, getState) => {
if (typeof accept === 'function' && !accept(status)) {
return;

Loading…
Cancel
Save