import { TProfile } from '@/types' import { createContext, useContext } from 'react' export type NoteFeedProfileContextValue = { profiles: ReadonlyMap pendingPubkeys: ReadonlySet version: number } export const NoteFeedProfileContext = createContext(null) export function useNoteFeedProfileContext() { return useContext(NoteFeedProfileContext) }