Add hasPinnedCustomFeedOrList to usePinnedFeedsInfos hook
This commit is contained in:
parent
9fb2c29c67
commit
ed391c346d
4 changed files with 12 additions and 5 deletions
|
@ -79,7 +79,7 @@ function FeedsTabBarPublic() {
|
|||
function FeedsTabBarTablet(
|
||||
props: RenderTabBarFnProps & {testID?: string; onPressSelected: () => void},
|
||||
) {
|
||||
const feeds = usePinnedFeedsInfos()
|
||||
const {feeds} = usePinnedFeedsInfos()
|
||||
const pal = usePalette('default')
|
||||
const {hasSession} = useSession()
|
||||
const {headerMinimalShellTransform} = useMinimalShellMode()
|
||||
|
|
|
@ -26,7 +26,7 @@ export function FeedsTabBar(
|
|||
const {isSandbox, hasSession} = useSession()
|
||||
const {_} = useLingui()
|
||||
const setDrawerOpen = useSetDrawerOpen()
|
||||
const feeds = usePinnedFeedsInfos()
|
||||
const {feeds} = usePinnedFeedsInfos()
|
||||
const brandBlue = useColorSchemeStyle(s.brandBlue, s.blue3)
|
||||
const {headerHeight} = useShellLayout()
|
||||
const {headerMinimalShellTransform} = useMinimalShellMode()
|
||||
|
|
|
@ -11,7 +11,7 @@ import {usePinnedFeedsInfos} from '#/state/queries/feed'
|
|||
export function DesktopFeeds() {
|
||||
const pal = usePalette('default')
|
||||
const {_} = useLingui()
|
||||
const feeds = usePinnedFeedsInfos()
|
||||
const {feeds} = usePinnedFeedsInfos()
|
||||
|
||||
const route = useNavigationState(state => {
|
||||
if (!state) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue