removed console.logs
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user