tooot/src/screens/Tabs/Shared/Account/Context.tsx

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