mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Rewrite timeline logic
This commit is contained in:
@ -1,9 +1,12 @@
|
||||
import Timeline from '@components/Timeline'
|
||||
import { QueryKeyTimeline } from '@utils/queryHooks/timeline'
|
||||
import React from 'react'
|
||||
|
||||
const ScreenMeBookmarks = React.memo(
|
||||
() => {
|
||||
return <Timeline page='Bookmarks' />
|
||||
const queryKey: QueryKeyTimeline = ['Timeline', { page: 'Bookmarks' }]
|
||||
|
||||
return <Timeline queryKey={queryKey} />
|
||||
},
|
||||
() => true
|
||||
)
|
||||
|
Reference in New Issue
Block a user