fix user refresh

This commit is contained in:
john 2025-05-20 23:43:43 +02:00
parent 0b2a64e449
commit cc3d138fd3
6 changed files with 6 additions and 13 deletions

View file

@ -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