Fix error when sending new posts (#36869)

This commit is contained in:
Claire
2025-11-13 16:42:14 +01:00
committed by GitHub
parent 998d4cc0dc
commit 98c8c1ebd2

View File

@@ -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;