feat: handle reject handler and add rates page

This commit is contained in:
Jesse Egbosionu
2024-01-14 16:30:19 +01:00
parent da90660a3a
commit fe2990f367
3 changed files with 74 additions and 15 deletions
+5
View File
@@ -0,0 +1,5 @@
export async function fetchData() {
const response = await fetch('/api/v1/rates');
const data = await response.json();
return data;
}