removed console.logs

This commit is contained in:
2025-10-07 15:58:16 +01:00
parent 50d22def56
commit 992fb4f959
5 changed files with 7 additions and 11 deletions

View File

@@ -9,12 +9,12 @@ export const useGetConfigs = () => {
const response = await fetch(`${apiUrl}/api/config-ids`);
if (!response.ok) {
console.log("failed fetching");
throw new Error("Cannot get configs");
}
const data = await response.json();
setConfigs(data);
} catch (error) {
console.log(error);
console.error(error);
}
}
getConfigs();