function FollowProvider
FollowProvider(unnamed 0: FollowProviderProps): React.JSX.Element

Provides FollowContext. It fetches the follows whenever the token changes, again when follows_changed says another tab changed them, and after the socket reconnects. It empties them on sign-out.

Parameters

Return Type

React.JSX.Element

Usage

import { FollowProvider } from "src/contexts/social/FollowProvider.tsx";