mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 15:58:50 +00:00
[Glitch] fix: Fix error caused by attempt to fetch non-existent quote
Port 9f94ddcd40 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
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