no need to log this
This commit is contained in:
parent
b3cd770724
commit
5f4d3829e2
@ -43,7 +43,6 @@ export async function kyFetch<T>(url: string): Promise<T | undefined> {
|
|||||||
try {
|
try {
|
||||||
return await ky.get<T>(url).json();
|
return await ky.get<T>(url).json();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(`Error fetching data from ${url}:`, error);
|
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user