this repo has no description
0
fork

Configure Feed

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

Fix fetch doesn't throw error when 500

+4 -1
+4 -1
src/components/translation-block.jsx
··· 35 35 text, 36 36 )}`, 37 37 ) 38 - .then((res) => res.json()) 38 + .then((res) => { 39 + if (!res.ok) throw new Error(res.statusText); 40 + return res.json(); 41 + }) 39 42 .then((res) => { 40 43 return { 41 44 provider: 'lingva',