Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add a hard-coded redirect for lulaoficial.bsky.social (#5303)

authored by

Paul Frazee and committed by
GitHub
47bea320 897d8ba7

+11
+11
src/view/screens/Profile.tsx
··· 41 41 import {ProfileLabelsSection} from '#/screens/Profile/Sections/Labels' 42 42 import {ScreenHider} from '#/components/moderation/ScreenHider' 43 43 import {ProfileStarterPacks} from '#/components/StarterPack/ProfileStarterPacks' 44 + import {navigate} from '#/Navigation' 44 45 import {ExpoScrollForwarderView} from '../../../modules/expo-scroll-forwarder' 45 46 import {ProfileFeedgens} from '../com/feeds/ProfileFeedgens' 46 47 import {ProfileLists} from '../com/lists/ProfileLists' ··· 85 86 refetchProfile() 86 87 } 87 88 }, [resolveError, refetchDid, refetchProfile]) 89 + 90 + // Apply hard-coded redirects as need 91 + React.useEffect(() => { 92 + if (resolveError) { 93 + if (name === 'lulaoficial.bsky.social') { 94 + console.log('Applying redirect to lula.com.br') 95 + navigate('Profile', {name: 'lula.com.br'}) 96 + } 97 + } 98 + }, [name, resolveError]) 88 99 89 100 // When we open the profile, we want to reset the posts query if we are blocked. 90 101 React.useEffect(() => {