fix user refresh
This commit is contained in:
parent
0b2a64e449
commit
cc3d138fd3
6 changed files with 6 additions and 13 deletions
|
@ -5,9 +5,9 @@ import { useState } from 'react'
|
|||
import { setGlobal } from '../femtoApp.ts'
|
||||
|
||||
export interface User {
|
||||
userId: string
|
||||
id: string
|
||||
username: string
|
||||
isSuperUser: boolean
|
||||
roles: string[]
|
||||
}
|
||||
|
||||
let globalUser: User | null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue