2
0

fix: Fix error caused by attempt to fetch non-existent quote (#35022)

This commit is contained in:
diondiondion
2025-06-12 15:29:55 +02:00
committed by GitHub
parent ccf7760205
commit 9f94ddcd40

View File

@@ -89,7 +89,7 @@ export const QuotedStatus: React.FC<{
); );
useEffect(() => { useEffect(() => {
if (!status) { if (!status && quotedStatusId) {
dispatch(fetchStatus(quotedStatusId)); dispatch(fetchStatus(quotedStatusId));
} }
}, [status, quotedStatusId, dispatch]); }, [status, quotedStatusId, dispatch]);