Guard against following tab stub being used un-authed (#2013)
This commit is contained in:
parent
cf1b0b1881
commit
bdabfa9d38
2 changed files with 3 additions and 2 deletions
|
@ -30,7 +30,7 @@ export function FeedsTabBar(
|
|||
const brandBlue = useColorSchemeStyle(s.brandBlue, s.blue3)
|
||||
const {headerHeight} = useShellLayout()
|
||||
const {headerMinimalShellTransform} = useMinimalShellMode()
|
||||
const items = feeds.map(f => f.displayName)
|
||||
const items = hasSession ? feeds.map(f => f.displayName) : []
|
||||
|
||||
const onPressAvi = React.useCallback(() => {
|
||||
setDrawerOpen(true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue