1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00
This commit is contained in:
Zhiyuan Zheng
2021-02-11 01:33:31 +01:00
parent a40a645337
commit d1bddc696a
50 changed files with 271 additions and 269 deletions

View File

@ -145,10 +145,11 @@ const ScreenTabs = React.memo(
options: {
notifyOnChangeProps: [],
select: data => {
if (data.pages[0].length) {
if (data.pages[0].body.length) {
dispatch(
updateLocalNotification({
latestTime: data.pages[0][0].created_at
// @ts-ignore
latestTime: data.pages[0].body[0].created_at
})
)
}