mirror of
https://github.com/shishantbiswas/bknd-examples.git
synced 2026-02-28 12:31:14 +00:00
init
This commit is contained in:
4
app/composables/useUser.ts
Normal file
4
app/composables/useUser.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export const useUser = () => {
|
||||
const getUser = () => $fetch("/api/user");
|
||||
return { getUser };
|
||||
};
|
||||
Reference in New Issue
Block a user