fixed build issues. its builds now
This commit is contained in:
@@ -45,6 +45,7 @@ export default function BetaMagicPage() {
|
||||
// We can simulate "login" by directly setting localStorage like AuthContext does,
|
||||
// but easiest is just to store it here in the same shape.
|
||||
setSession(data.token ?? data.accessToken, {
|
||||
uuid: data.uuid ?? data.id,
|
||||
email: data.email,
|
||||
displayName: data.displayName ?? null,
|
||||
role: data.role ?? "USER",
|
||||
|
||||
Reference in New Issue
Block a user