about summary refs log tree commit diff
path: root/src/screens/Profile/ProfileFeed/index.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-03-05 17:54:14 +0000
committerGitHub <noreply@github.com>2025-03-05 09:54:14 -0800
commitc5d9e282e51f410ea80a9059ac680818c41d406e (patch)
tree3740653b1f89acb1d5c0a8b27f6cbe0b0e969a0b /src/screens/Profile/ProfileFeed/index.tsx
parentf5f02aa4b36ba85c0287324e1654bccaf19cfd5f (diff)
downloadvoidsky-c5d9e282e51f410ea80a9059ac680818c41d406e.tar.zst
fix layout shift in profile feed header (#7906)
Diffstat (limited to 'src/screens/Profile/ProfileFeed/index.tsx')
-rw-r--r--src/screens/Profile/ProfileFeed/index.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screens/Profile/ProfileFeed/index.tsx b/src/screens/Profile/ProfileFeed/index.tsx
index 8751ba3d9..3f517d334 100644
--- a/src/screens/Profile/ProfileFeed/index.tsx
+++ b/src/screens/Profile/ProfileFeed/index.tsx
@@ -102,16 +102,16 @@ export function ProfileFeedScreen(props: Props) {
   }
 
   return resolvedUri ? (
-    <Layout.Screen>
+    <Layout.Screen testID="profileFeedScreen">
       <ProfileFeedScreenIntermediate
         feedUri={resolvedUri.uri}
         feedParams={feedParams}
       />
     </Layout.Screen>
   ) : (
-    <Layout.Screen>
+    <Layout.Screen testID="profileFeedScreen">
+      <ProfileFeedHeaderSkeleton />
       <Layout.Content>
-        <ProfileFeedHeaderSkeleton />
         <PostFeedLoadingPlaceholder />
       </Layout.Content>
     </Layout.Screen>