Skip to content

Commit 4a2132a

Browse files
committed
fix test
1 parent 86d7b77 commit 4a2132a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/app/Scenes/HomeView/Sections/HomeViewSectionSales.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import {
2424
} from "app/Scenes/HomeView/helpers/constants"
2525
import { getHomeViewSectionHref } from "app/Scenes/HomeView/helpers/getHomeViewSectionHref"
2626
import { useHomeViewTracking } from "app/Scenes/HomeView/hooks/useHomeViewTracking"
27-
import { navigate } from "app/system/navigation/navigate"
2827
import { extractNodes } from "app/utils/extractNodes"
2928
import { NoFallback, withSuspense } from "app/utils/hooks/withSuspense"
3029
import { useMemoizedRandom } from "app/utils/placeholders"
@@ -65,8 +64,6 @@ export const HomeViewSectionSales: React.FC<HomeViewSectionSalesProps> = ({
6564
section.contextModule as ContextModule,
6665
(viewAll?.ownerType || section.ownerType) as ScreenOwnerType
6766
)
68-
69-
navigate(href)
7067
}
7168

7269
if (sales.length === 0) return null
@@ -104,6 +101,7 @@ export const HomeViewSectionSales: React.FC<HomeViewSectionSalesProps> = ({
104101
ListFooterComponent={
105102
viewAll ? (
106103
<BrowseMoreRailCard
104+
href={viewAll.href}
107105
onPress={onViewAllPress}
108106
text={viewAll.buttonText ?? "Browse All Auctions"}
109107
/>

0 commit comments

Comments
 (0)