We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50ea068 commit 34c13b1Copy full SHA for 34c13b1
src/utils/api.js
@@ -1,8 +1,9 @@
1
import { useCallback } from "react";
2
-import { getTree } from "./github";
3
import { unified } from "unified";
4
import remarkParse from "remark-parse";
5
+import { getTree } from "./github";
6
+
7
export const useApi = () => {
8
const getTopics = useCallback(async () => {
9
const tree = await getTree();
0 commit comments