fetch does not throw if no network error. account for this

This commit is contained in:
Calli
2024-05-20 21:08:55 +03:00
parent 793f71476b
commit 03bcd784d7
4 changed files with 17 additions and 15 deletions

View File

@@ -26,7 +26,7 @@ const PlanetaryIteractionTable = ({
}) => {
const theme = useTheme();
if (character.invalidToken)
if (character.needsLogin)
return (
<p style={{ color: "red" }}>
Character token has expired. Relogin to fix.