fix: Fix error caused by attempt to fetch non-existent quote (#35022)
This commit is contained in:
@@ -89,7 +89,7 @@ export const QuotedStatus: React.FC<{
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
if (!status) {
|
||||
if (!status && quotedStatusId) {
|
||||
dispatch(fetchStatus(quotedStatusId));
|
||||
}
|
||||
}, [status, quotedStatusId, dispatch]);
|
||||
|
||||
Reference in New Issue
Block a user