[Glitch] fix: Fix error caused by attempt to fetch non-existent quote
Port 9f94ddcd402c0664961f3de77728ba9af9795176 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
442401c47e
commit
d5ba3aa6bd
@ -89,7 +89,7 @@ export const QuotedStatus: React.FC<{
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
if (!status) {
|
||||
if (!status && quotedStatusId) {
|
||||
dispatch(fetchStatus(quotedStatusId));
|
||||
}
|
||||
}, [status, quotedStatusId, dispatch]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user