Fix issues reported in the error reports of find the error while testing eprocure application
This commit is contained in:
@@ -72,6 +72,7 @@ const LiveTender = () => {
|
||||
return <Skelton />;
|
||||
}
|
||||
|
||||
console.log("data live : ", data )
|
||||
return (
|
||||
<View style={{ flex: 1 }}>
|
||||
<SearchInput onChange={() => { }} placeholder="Search...." />
|
||||
@@ -114,7 +115,7 @@ const LiveTender = () => {
|
||||
)}
|
||||
|
||||
<FlatList
|
||||
data={data?.data ?? []}
|
||||
data={data?.result ?? []}
|
||||
keyExtractor={(item) => String(item.auctionId)}
|
||||
renderItem={renderItem}
|
||||
showsVerticalScrollIndicator={false}
|
||||
@@ -135,6 +136,8 @@ const LiveTender = () => {
|
||||
windowSize={7}
|
||||
removeClippedSubviews
|
||||
updateCellsBatchingPeriod={50}
|
||||
onRefresh={refetch}
|
||||
refreshing={isRefetching}
|
||||
/>
|
||||
</View>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user