mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 22:47:15 +01:00
10 lines
197 B
TypeScript
10 lines
197 B
TypeScript
import React from 'react'
|
|
import { UserData } from '../../lib/session'
|
|
|
|
const UserContext = React.createContext<UserData>({
|
|
username: undefined,
|
|
role: undefined,
|
|
})
|
|
|
|
export default UserContext
|