mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-04 06:57:12 +01:00
move contexts all out in own toplevel dir
- rename wizard to book
This commit is contained in:
9
context/user.tsx
Normal file
9
context/user.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import React from 'react'
|
||||
import { UserData } from '../lib/session'
|
||||
|
||||
const UserContext = React.createContext<UserData>({
|
||||
username: undefined,
|
||||
role: undefined,
|
||||
})
|
||||
|
||||
export default UserContext
|
||||
Reference in New Issue
Block a user