Added reports section.

This commit is contained in:
Mike Cao 2023-05-17 23:20:06 -07:00
parent ad918c5bba
commit a5700d4a25
36 changed files with 422 additions and 43 deletions

View file

@ -7,7 +7,7 @@ import useStore from 'store/app';
const selector = state => state.shareToken;
export default function useApi() {
export function useApi() {
const { basePath } = useRouter();
const shareToken = useStore(selector);
@ -18,3 +18,5 @@ export default function useApi() {
return { get, post, put, del, ...reactQuery };
}
export default useApi;