diff --git a/striker-ui/lib/fetchers/fetchJSON.ts b/striker-ui/lib/fetchers/fetchJSON.ts index db2464e2..07918bc9 100644 --- a/striker-ui/lib/fetchers/fetchJSON.ts +++ b/striker-ui/lib/fetchers/fetchJSON.ts @@ -1,5 +1,5 @@ -function fetchJSON(...args: [RequestInfo, RequestInit?]): Promise { +const fetchJSON = (...args: [RequestInfo, RequestInit?]): Promise => { return fetch(...args).then((response: Response) => response.json()); -} +}; export default fetchJSON;