Skip to content

Commit

Permalink
export ref
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Jun 24, 2023
1 parent cba1d02 commit 90dee15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useReportScrollManager/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function useReportScrollManager() {
flatListRef.current.scrollToOffset({animated: false, offset: 0});
};

return {scrollToIndex, scrollToBottom};
return {ref: flatListRef, scrollToIndex, scrollToBottom};
}

export default useReportScrollManager;

0 comments on commit 90dee15

Please sign in to comment.