mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Fixed #454
This commit is contained in:
@@ -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={
|
||||||
|
Reference in New Issue
Block a user