feat: handle reject handler and add rates page
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
export async function fetchData() {
|
||||
const response = await fetch('/api/v1/rates');
|
||||
const data = await response.json();
|
||||
return data;
|
||||
}
|
||||
Reference in New Issue
Block a user