Skip to content

Commit 34c13b1

Browse files
committed
Refactor
1 parent 50ea068 commit 34c13b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils/api.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import { useCallback } from "react";
2-
import { getTree } from "./github";
32
import { unified } from "unified";
43
import remarkParse from "remark-parse";
54

5+
import { getTree } from "./github";
6+
67
export const useApi = () => {
78
const getTopics = useCallback(async () => {
89
const tree = await getTree();

0 commit comments

Comments
 (0)