mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-30 18:09:40 +05:00
feat: add logged in user favorite and owned collection fetching
This commit is contained in:
parent
9f3e1b951a
commit
b6878a0386
6 changed files with 84 additions and 151 deletions
|
@ -5,7 +5,7 @@ import { getJWT, removeJWT, fetchDataViaGet } from "#/api/utils";
|
|||
interface userState {
|
||||
_hasHydrated: boolean;
|
||||
isAuth: boolean;
|
||||
user: Object | null;
|
||||
user: any | null;
|
||||
token: string | null;
|
||||
state: string;
|
||||
login: (user: Object, token: string) => void;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue