Remove React contexts

This commit is contained in:
Justin Edmund 2022-02-23 15:58:37 -08:00
parent 1a39108e38
commit d1c602dd59
2 changed files with 0 additions and 27 deletions

View file

@ -1,10 +0,0 @@
import { createContext } from 'react'
const AppContext = createContext({
authenticated: false,
editable: false,
setAuthenticated: (auth: boolean) => {},
setEditable: (editable: boolean) => {}
})
export default AppContext

View file

@ -1,17 +0,0 @@
import { createContext } from 'react'
import { TeamElement } from '~utils/enums'
const PartyContext = createContext({
id: '',
setId: (id: string) => {},
slug: '',
setSlug: (slug: string) => {},
element: TeamElement.Any,
setElement: (element: TeamElement) => {},
editable: false,
setEditable: (editable: boolean) => {},
hasExtra: false,
setHasExtra: (hasExtra: boolean) => {}
})
export default PartyContext