Fix up missing props

This commit is contained in:
Dan Abramov
2023-11-10 03:27:49 +00:00
parent 8d60937a25
commit 03789cd77c
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -352,7 +352,7 @@ export const ProfileFeedScreenInner = observer(
scrollElRef={scrollElRef}
/>
)}
{({onScroll, headerHeight}) => (
{({onScroll, headerHeight, scrollElRef}) => (
<AboutSection
feedOwnerDid={feedOwnerDid}
feedRkey={rkey}
+2 -1
View File
@@ -219,9 +219,10 @@ export const ProfileListScreenInner = observer(
items={SECTION_TITLES_MOD}
isHeaderReady={list.hasLoaded}
renderHeader={renderHeader}>
{({onScroll, headerHeight, isScrolledDown}) => (
{({onScroll, headerHeight, isScrolledDown, scrollElRef}) => (
<AboutSection
list={list}
scrollElRef={scrollElRef}
descriptionRT={list.descriptionRT}
creator={list.data ? list.data.creator : undefined}
isCurateList={list.isCuratelist}