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

12 lines
295 B
TypeScript
Raw Normal View History

2023-01-02 02:08:12 +01:00
import { createContext } from 'react'
type AccountContextType = {
account?: Mastodon.Account
relationship?: Mastodon.Relationship
2023-01-02 02:08:12 +01:00
pageMe?: boolean
2023-02-25 23:42:04 +01:00
localInstance: boolean
2023-01-02 02:08:12 +01:00
}
const AccountContext = createContext<AccountContextType>({} as AccountContextType)
export default AccountContext