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.
2 parents f5f742c + dca418d commit ccf6687Copy full SHA for ccf6687
src/lib/api/home.ts
@@ -0,0 +1,6 @@
1
+import http from "./http";
2
+
3
+export const fetchHome = async () => {
4
+ const { data } = await http.get('/home');
5
+ return data;
6
+}
0 commit comments