mirror of https://github.com/tooot-app/app
22 lines
413 B
TypeScript
22 lines
413 B
TypeScript
import Timeline from '@components/Timeline'
|
|
import React from 'react'
|
|
import { SharedTootProp } from './sharedScreens'
|
|
|
|
const TabSharedToot: React.FC<SharedTootProp> = ({
|
|
route: {
|
|
params: { toot, rootQueryKey }
|
|
}
|
|
}) => {
|
|
return (
|
|
<Timeline
|
|
page='Toot'
|
|
toot={toot.id}
|
|
rootQueryKey={rootQueryKey}
|
|
disableRefresh
|
|
disableInfinity
|
|
/>
|
|
)
|
|
}
|
|
|
|
export default TabSharedToot
|