Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

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

move early return to after all hooks (#823)

authored by

Ansh and committed by
GitHub
5c25d670 54e5e309

+5 -5
+5 -5
src/view/com/posts/FeedItem.tsx
··· 7 7 FontAwesomeIcon, 8 8 FontAwesomeIconStyle, 9 9 } from '@fortawesome/react-native-fontawesome' 10 - import {PostsFeedItemModel} from 'state/models/feeds/posts' 10 + import {PostsFeedItemModel} from 'state/models/feeds/post' 11 11 import {ModerationBehaviorCode} from 'lib/labeling/types' 12 12 import {Link, DesktopWebTextLink} from '../util/Link' 13 13 import {Text} from '../util/text/Text' ··· 135 135 ) 136 136 }, [track, item, setDeleted, store]) 137 137 138 - if (!record || deleted) { 139 - return <View /> 140 - } 141 - 142 138 const isSmallTop = isThreadChild 143 139 const outerStyles = [ 144 140 styles.outer, ··· 191 187 }, 192 188 [onPressReply, onPressToggleLike, onPressToggleRepost], 193 189 ) 190 + 191 + if (!record || deleted) { 192 + return <View /> 193 + } 194 194 195 195 return ( 196 196 <PostHider