diff --git a/src/app/system/navigation/RouterLink.tsx b/src/app/system/navigation/RouterLink.tsx index 7dcea0fda90..ae12e9e253a 100644 --- a/src/app/system/navigation/RouterLink.tsx +++ b/src/app/system/navigation/RouterLink.tsx @@ -1,9 +1,9 @@ -import { Touchable, TouchableProps } from "@artsy/palette-mobile" +import { TouchableProps } from "@artsy/palette-mobile" import { navigate } from "app/system/navigation/navigate" import { ElementInView } from "app/utils/ElementInView" import { useFeatureFlag } from "app/utils/hooks/useFeatureFlag" import { usePrefetch } from "app/utils/queryPrefetching" -import { GestureResponderEvent } from "react-native" +import { GestureResponderEvent, TouchableOpacity } from "react-native" interface RouterLinkProps { disablePrefetch?: boolean @@ -45,13 +45,19 @@ export const RouterLink: React.FC = ({ } } + const touchableProps = { + activeOpacity: 0.65, + onPress: handlePress, + ...restProps, + } + if (!isPrefetchingEnabled) { - return + return } return ( - + ) }