function useViewerDefaultFeedTab
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.

Return Type

Usage

import { useViewerDefaultFeedTab } from "src/hooks/feed/useDefaultFeedTab.ts";