This commit is contained in:
xmflsct 2022-11-12 11:51:29 +01:00
parent 026ee9ce6d
commit 4d7606cd53
1 changed files with 3 additions and 3 deletions

View File

@ -51,9 +51,9 @@ const TabLocal = React.memo(
] ]
: undefined : undefined
} }
onPress={({ nativeEvent: { id } }) => { onPress={({ nativeEvent: { index } }) => {
id.length lists && index
? setQueryKey(['Timeline', { page: 'List', list: id }]) ? setQueryKey(['Timeline', { page: 'List', list: lists[index - 1].id }])
: setQueryKey(['Timeline', { page: 'Following' }]) : setQueryKey(['Timeline', { page: 'Following' }])
}} }}
children={ children={