1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Add account actions

This commit is contained in:
Zhiyuan Zheng
2020-12-21 21:47:15 +01:00
parent 25a80cc57e
commit 33b0b6b8ff
15 changed files with 257 additions and 83 deletions

View File

@ -6,7 +6,6 @@ import {
Text,
View
} from 'react-native'
import { useNavigation } from '@react-navigation/native'
import { Feather } from '@expo/vector-icons'
import Emojis from '@components/Timelines/Timeline/Shared/Emojis'
import relativeTime from '@utils/relativeTime'
@ -29,7 +28,6 @@ const TimelineHeaderNotification: React.FC<Props> = ({ notification }) => {
const account = notification.account.acct
const { theme } = useTheme()
const navigation = useNavigation()
const [since, setSince] = useState(relativeTime(notification.created_at))
const { status, data, refetch } = useQuery(