this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix undefined statusObject

+2 -3
+2 -3
src/pages/http-route.jsx
··· 21 21 useLayoutEffect(() => { 22 22 setUIState('loading'); 23 23 (async () => { 24 - const { instance, id } = statusObject; 25 - const { masto } = api({ instance }); 26 - 27 24 // Check if status returns 200 28 25 try { 26 + const { instance, id } = statusObject; 27 + const { masto } = api({ instance }); 29 28 const status = await masto.v1.statuses.$select(id).fetch(); 30 29 if (status) { 31 30 window.location.hash = statusURL + '?view=full';