This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { DB } from "bknd";
|
||||
import type { DB } from "userbase";
|
||||
|
||||
type Todo = DB["todos"];
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { User } from "bknd";
|
||||
import type { User } from "userbase";
|
||||
|
||||
export const useUser = () => {
|
||||
const getUser = () => $fetch("/api/auth/me") as Promise<{ user: User }>;
|
||||
|
||||
Reference in New Issue
Block a user