Skip to content

Commit

Permalink
[KAN-142] 리스트 탭 > 스크롤 페이지에서 페이지 새로 추가되는게 느린부분 개선 (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
sinkyoungdeok authored Jun 1, 2024
1 parent 6949899 commit 5db75be
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/components/StoreCompo.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ export default function StoreCompo(props) {

const {storeData, index, addPadding, fade} = props;

console.log('storeData', storeData);
return (
<Pressable
key={index.toString()}
Expand Down
2 changes: 1 addition & 1 deletion src/screens/list/ListMainScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ export default function ListMainScreen() {
ListHeaderComponent={listHeader}
ListFooterComponent={() => <View style={{height: 16}} />}
onEndReached={onEndReached}
onEndReachedThreshold={0.4}
onEndReachedThreshold={60}
renderItem={({item, index}) => {
return (
<View style={{alignItems: 'center'}}>
Expand Down

0 comments on commit 5db75be

Please sign in to comment.