This commit is contained in:
xmflsct 2023-03-12 18:49:06 +01:00
parent 173d4248d8
commit 1df73b070a
2 changed files with 5 additions and 3 deletions

View File

@ -60,8 +60,8 @@ const TabMeFollowedTags: React.FC<TabMeStackScreenProps<'Tab-Me-FollowedTags'>>
<Button
type='text'
content={t('componentContextMenu:hashtag.follow.action', {
defaultValue: 'fase',
context: 'false'
defaultValue: 'true',
context: 'true'
})}
onPress={() => mutation.mutate({ tag_name: item.name, to: !item.following })}
/>

View File

@ -7,7 +7,9 @@ import { useEffect } from 'react'
// /compose OR /compose/@username@example.com
export const useLinking = () => {
const parseLink = async (link: string) => {
const parseLink = async (link: string | null) => {
if (!link) return
const parsed = Linking.parse(link)
switch (parsed.scheme) {