Skip to content

Commit

Permalink
Urgent fix to type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchernchong committed Oct 16, 2024
1 parent 9573d2d commit e6a4831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/fetchApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const fetchApi = async <T>(
}

return response.json();
} catch (e) {
} catch (e: any) {
console.error(e.message);
throw e;
}
Expand Down

0 comments on commit e6a4831

Please sign in to comment.