mirror of https://github.com/tooot-app/app
12 lines
295 B
TypeScript
12 lines
295 B
TypeScript
import { createContext } from 'react'
|
|
|
|
type AccountContextType = {
|
|
account?: Mastodon.Account
|
|
relationship?: Mastodon.Relationship
|
|
pageMe?: boolean
|
|
localInstance: boolean
|
|
}
|
|
const AccountContext = createContext<AccountContextType>({} as AccountContextType)
|
|
|
|
export default AccountContext
|