mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: add featureBaseJwt to type
This commit is contained in:
parent
b494b28f6f
commit
d016f5e475
3 changed files with 3 additions and 0 deletions
|
@ -72,6 +72,7 @@ export const getUserData = () => {
|
|||
expiresAt: loggedUser.subscription.expiresAt,
|
||||
}
|
||||
: null,
|
||||
featurebaseJwt: "",
|
||||
} as UserDetails;
|
||||
}
|
||||
|
||||
|
|
|
@ -78,6 +78,7 @@ export function useUserDetails() {
|
|||
...response,
|
||||
username: userDetails?.username || "",
|
||||
subscription: userDetails?.subscription || null,
|
||||
featurebaseJwt: userDetails?.featurebaseJwt || "",
|
||||
});
|
||||
},
|
||||
[updateUserDetails, userDetails?.username, userDetails?.subscription]
|
||||
|
|
|
@ -267,6 +267,7 @@ export interface UserDetails {
|
|||
backgroundImageUrl: string | null;
|
||||
profileVisibility: ProfileVisibility;
|
||||
bio: string;
|
||||
featurebaseJwt: string;
|
||||
subscription: Subscription | null;
|
||||
quirks?: {
|
||||
backupsPerGameLimit: number;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue