mirror of
				https://github.com/tooot-app/app
				synced 2025-06-05 22:19:13 +02:00 
			
		
		
		
	Fix some Sentry reported crashes
This commit is contained in:
		| @@ -60,7 +60,7 @@ const Collections: React.FC = () => { | ||||
|         title={t('screenTabs:me.stacks.favourites.name')} | ||||
|         onPress={() => navigation.navigate('Tab-Me-Favourites')} | ||||
|       /> | ||||
|       {pageMe.lists?.shown ? ( | ||||
|       {pageMe?.lists?.shown ? ( | ||||
|         <MenuRow | ||||
|           iconFront='List' | ||||
|           iconBack='ChevronRight' | ||||
| @@ -68,7 +68,7 @@ const Collections: React.FC = () => { | ||||
|           onPress={() => navigation.navigate('Tab-Me-List-List')} | ||||
|         /> | ||||
|       ) : null} | ||||
|       {pageMe.followedTags?.shown ? ( | ||||
|       {pageMe?.followedTags?.shown ? ( | ||||
|         <MenuRow | ||||
|           iconFront='Hash' | ||||
|           iconBack='ChevronRight' | ||||
| @@ -76,7 +76,7 @@ const Collections: React.FC = () => { | ||||
|           onPress={() => navigation.navigate('Tab-Me-FollowedTags')} | ||||
|         /> | ||||
|       ) : null} | ||||
|       {pageMe.announcements?.shown ? ( | ||||
|       {pageMe?.announcements?.shown ? ( | ||||
|         <MenuRow | ||||
|           iconFront='Clipboard' | ||||
|           iconBack='ChevronRight' | ||||
|   | ||||
| @@ -1,6 +1,8 @@ | ||||
| import * as htmlparser2 from 'htmlparser2' | ||||
|  | ||||
| const removeHTML = (text: string): string => { | ||||
|   if (!text) return '' | ||||
|  | ||||
|   let raw: string = '' | ||||
|  | ||||
|   const parser = new htmlparser2.Parser({ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user