fix: Fix error caused by attempt to fetch non-existent quote (#35022)
This commit is contained in:
parent
ccf7760205
commit
9f94ddcd40
1 changed files with 1 additions and 1 deletions
|
|
@ -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]);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue