move contexts all out in own toplevel dir

- rename wizard to book
This commit is contained in:
Thomas Ruoff
2021-06-07 23:51:32 +02:00
parent 92477e5325
commit dbe3904759
10 changed files with 35 additions and 35 deletions

9
context/user.tsx Normal file
View 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