useViewerDefaultFeedTab(): FeedTab
Returns the tab the bare / and /<category> show this viewer: their
choice, or DEFAULT_FEED_TAB for "follow" when nobody is signed in,
since it needs a session. Index and its tab bar read it.
useViewerDefaultFeedTab(): FeedTab
Returns the tab the bare / and /<category> show this viewer: their
choice, or DEFAULT_FEED_TAB for "follow" when nobody is signed in,
since it needs a session. Index and its tab bar read it.
import { useViewerDefaultFeedTab } from "src/hooks/feed/useDefaultFeedTab.ts";