diff --git a/src/Geopilot.Frontend/src/App.tsx b/src/Geopilot.Frontend/src/App.tsx index e5a833b1..1d07a40c 100644 --- a/src/Geopilot.Frontend/src/App.tsx +++ b/src/Geopilot.Frontend/src/App.tsx @@ -67,12 +67,9 @@ export const App: FC = () => { return await response.json(); } else if (!contentType || responseContentType?.includes(contentType)) { return await response.text(); - } else { - return ""; } - } else { - return response; } + return ""; }; useEffect(() => {