Skip to content

Commit 1100843

Browse files
chore: updating test
1 parent 422b0e5 commit 1100843

File tree

1 file changed

+1
-9
lines changed
  • app/components/UI/CollectibleContracts

1 file changed

+1
-9
lines changed

app/components/UI/CollectibleContracts/index.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,6 @@ const createStyles = (colors) =>
144144
spinner: {
145145
marginBottom: 8,
146146
},
147-
loadingContainer: {
148-
alignItems: 'center',
149-
paddingVertical: 16,
150-
},
151147
networkManagerWrapper: {
152148
display: 'flex',
153149
flexDirection: 'row',
@@ -381,8 +377,6 @@ const CollectibleContracts = ({
381377
setIsAddNFTEnabled(true);
382378
}, [navigation, trackEvent, createEventBuilder]);
383379

384-
const renderFooter = useCallback(() => null, []);
385-
386380
const renderCollectibleContract = useCallback(
387381
(item, index) => {
388382
const contractCollectibles = collectibles?.filter((collectible) =>
@@ -528,7 +522,6 @@ const CollectibleContracts = ({
528522
/>
529523
}
530524
ListEmptyComponent={renderEmpty()}
531-
ListFooterComponent={renderFooter()}
532525
estimatedItemSize={100}
533526
scrollEnabled={false}
534527
/>
@@ -541,7 +534,6 @@ const CollectibleContracts = ({
541534
refreshing,
542535
onRefresh,
543536
renderCollectibleContract,
544-
renderFooter,
545537
renderEmpty,
546538
isCollectionDetectionBannerVisible,
547539
styles.emptyView,
@@ -620,7 +612,7 @@ const CollectibleContracts = ({
620612
</View>
621613
</View>
622614
{isNftFetchingProgress && (
623-
<View style={styles.loadingContainer}>
615+
<View style={styles.footer}>
624616
<ActivityIndicator
625617
size="large"
626618
style={styles.spinner}

0 commit comments

Comments
 (0)