Skip to content

Commit

Permalink
ci(release): publish latest release
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-happy-puppy committed Apr 22, 2024
1 parent c0bbcf5 commit 3757840
Show file tree
Hide file tree
Showing 390 changed files with 8,292 additions and 6,590 deletions.
75 changes: 36 additions & 39 deletions RELEASE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
IPFS hash of the deployment:
- CIDv0: `QmbEmY4ebbPrQirzx9PNZGKqyjK7pgUMVce2F2tMtJHbJ5`
- CIDv1: `bafybeif7uyvbcyhd5ib6xkikxoyvm4voodg4pgagjckny4m52o7qtclpsy`
- CIDv0: `QmRTQkA8KswGiGLBonZxttz4C9fJSnbD9QnKis37qVEJ2j`
- CIDv1: `bafybeibojzlcvbuydj5zkb562ipm3tcaa74sn4ub72dnwtse4diqma6gca`

The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).

Expand All @@ -10,51 +10,48 @@ You can also access the Uniswap Interface from an IPFS gateway.
Your Uniswap settings are never remembered across different URLs.

IPFS gateways:
- https://bafybeif7uyvbcyhd5ib6xkikxoyvm4voodg4pgagjckny4m52o7qtclpsy.ipfs.dweb.link/
- https://bafybeif7uyvbcyhd5ib6xkikxoyvm4voodg4pgagjckny4m52o7qtclpsy.ipfs.cf-ipfs.com/
- [ipfs://QmbEmY4ebbPrQirzx9PNZGKqyjK7pgUMVce2F2tMtJHbJ5/](ipfs://QmbEmY4ebbPrQirzx9PNZGKqyjK7pgUMVce2F2tMtJHbJ5/)
- https://bafybeibojzlcvbuydj5zkb562ipm3tcaa74sn4ub72dnwtse4diqma6gca.ipfs.dweb.link/
- https://bafybeibojzlcvbuydj5zkb562ipm3tcaa74sn4ub72dnwtse4diqma6gca.ipfs.cf-ipfs.com/
- [ipfs://QmRTQkA8KswGiGLBonZxttz4C9fJSnbD9QnKis37qVEJ2j/](ipfs://QmRTQkA8KswGiGLBonZxttz4C9fJSnbD9QnKis37qVEJ2j/)

## 5.24.0 (2024-04-17)
## 5.25.0 (2024-04-22)


### Features

* **web:** [wagmi] Add viem to ethers adapters (#7237) 276faae
* **web:** deprecate token logo lookups (#6921) 0ade412
* **web:** deprecate+delete token safety lookups (#7132) b4642e9
* **web:** update signatures from subscription (#7389) f867870
* **web:** add check:bundle-size script and ci check for bundle size not growing (#7655) 0a4bce7
* **web:** Add feature flag for v2 data on Explore (#7705) 1679530
* **web:** combine all DoubleCurrencyLogo implementations (#7369) cda9384
* **web:** fix unicon v2 and remove jazzicons (#7586) 27caec6
* **web:** multiple routing preference (#7585) c6bfd6c
* **web:** multiple routing preferences styling (#7627) 58a55de
* **web:** remove all token-lists except avax fallbacks (#7422) 377fe4b
* **web:** remove remaining usage of token lists (#7446) 9895aa7
* **web:** subscription-based activity feed (#7266) 327da33
* **web:** update transactions from subscription (#7471) 49484c8


### Bug Fixes

* **web:** allow TrustWallet nodes in CSP (#7515) 0a5b28d
* **web:** change background color of LP warning banner (#7491) f543ab0
* **web:** change warning icon color; add learn more link (#7483) 352be3b
* **web:** checkbox color on open-limits drawer (#7410) 05dfaed
* **web:** dismiss chart tooltip when clicking outside of chart (#7285) 3d97a14
* **web:** ellipsis on unitag text in side drawer (#7386) 471661c
* **web:** fix cypress tests (#7347) e54ceb9
* **web:** fix icon cutoff (#7583) a01e106
* **web:** fix translations with JSX rendering as [object Object] (#7336) 67df76c
* **web:** fix uniswapx e2e tests (#7458) c6de35e
* **web:** fix x-chain token logos (#7374) 4367e3a
* **web:** functions pass-through (#7338) ace3062
* **web:** make sure SimpleToken hits the cache in all cases (#7488) 1be2954
* **web:** parse matic correctly from gql response (#7519) 800eae5
* **web:** remove assets repo fallback for all tokens (#7476) 8e2142c
* **web:** Send crashing on useENSAvatar while disconnected (#7595) 131c6a3
* **web:** set usePoolData errorPolicy to all (#7466) 55e3e8a
* **web:** SimpleTokenDetails fragment to be used in all queries (#7549) 678e624
* **web:** switch currency when input equals output (staging) 20277d2
* **web:** TokenBalanceProvider account change (#7432) 516b781
* **web:** use accent warning soft for outage banner icon wrapper (#7428) cda7ea9
* **web:** use cache-first policy for TopTokens query (#7484) 25d0950


### Code Refactoring

* **web:** isolate the subscription updater (#7387) 6caabbd
* **web:** split out parseRemote signature (#7388) 223e766
* **web:** use a single codepath for functions response transform (#7363) 60471a8
* **web:** add new chains to richlinkpreviews chainlogo (#7521) a21f010
* **web:** allow TrustWallet nodes in CSP (#7513) aed2bd4
* **web:** deflake some cypress tests (#7575) 4a7daef
* **web:** disable breaking tests and rename cypress passing test to be clearer in github branch protection rules (#7496) 0f88608
* **web:** Don't try to parse non-numbers (#7587) 5da785f
* **web:** fix token cacheing in explore tabs, navbar search (#7543) aaaaaa1
* **web:** fix token safety test on TDP (#7506) 4635506
* **web:** fix uk disclaimer e2e test (#7507) 1a8dbef
* **web:** fix uniswapx e2e tests (#7505) 880c131
* **web:** fix unitag e2e test (#7504) 8a946d5
* **web:** limits pending cancel state (#7654) 74a8767
* **web:** parse native MATIC correctly (#7516) a7d7957
* **web:** pass gas params to provider (#7464) 3ede664
* **web:** Properly compare natives for L2 PDP Tx Table (#7520) 4a1bb26
* **web:** remove 'review swap' title from success state (#7346) e16d7f3
* **web:** remove sentence-casing for rich link previews images (#7344) dff07a9
* **web:** Send crashing on useENSAvatar while disconnected (#7595) 56ba8b4
* **web:** switch currency when input equals output (#7570) 1f2fd97
* **web:** use cached results for common bases (#7649) ea1866d
* **web:** warn user if fee is greater than native balance (#7556) 100fce9


2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web/5.24.0
web/5.25.0
2 changes: 1 addition & 1 deletion apps/mobile/ios/WidgetsCore/Utils/Network.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Apollo
public class Network {
public static let shared = Network()

private let UNISWAP_API_URL = Env.UNISWAP_API_BASE_URL + "/v1/graphql"
private let UNISWAP_API_URL = "https://ios.wallet.gateway.uniswap.org/v1/graphql"

public lazy var apollo: ApolloClient = {
let cache = InMemoryNormalizedCache()
Expand Down
8 changes: 4 additions & 4 deletions apps/mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@
"@uniswap/analytics": "1.7.0",
"@uniswap/analytics-events": "2.32.0",
"@uniswap/ethers-rs-mobile": "0.0.5",
"@uniswap/sdk-core": "4.2.0",
"@uniswap/v3-sdk": "3.11.0",
"@uniswap/sdk-core": "4.2.1-beta.1",
"@uniswap/v3-sdk": "3.11.1-beta.2",
"@walletconnect/core": "2.11.2",
"@walletconnect/react-native-compat": "2.11.2",
"@walletconnect/utils": "2.11.2",
Expand Down Expand Up @@ -163,14 +163,14 @@
"@babel/runtime": "7.18.9",
"@faker-js/faker": "7.6.0",
"@storybook/react": "7.0.2",
"@tamagui/babel-plugin": "1.94.3",
"@tamagui/babel-plugin": "1.94.5",
"@testing-library/react-hooks": "7.0.2",
"@testing-library/react-native": "11.5.0",
"@types/react-native": "0.71.3",
"@types/redux-mock-store": "1.0.6",
"@uniswap/eslint-config": "workspace:^",
"@walletconnect/types": "2.11.2",
"@welldone-software/why-did-you-render": "7.0.1",
"@welldone-software/why-did-you-render": "8.0.1",
"babel-loader": "8.2.3",
"babel-plugin-react-native-web": "0.17.5",
"babel-plugin-react-require": "4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/scripts/copy_env_vars_to_swift.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
ENV_DEFAULTS_FILE = '../../.env.defaults'
ENV_DEFAULTS_LOCAL_FILE = '../../.env.defaults.local'
SWIFT_FILE_PATH = 'ios/WidgetsCore/Env.swift'
SWIFT_ENV_VARIABLES = ['UNISWAP_API_BASE_URL','UNISWAP_API_KEY']
SWIFT_ENV_VARIABLES = ['UNISWAP_API_KEY']

def to_swift_constant_line(key, value):
return f' static let {key.upper()} = "{value}"'
Expand Down
8 changes: 4 additions & 4 deletions apps/mobile/src/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ import { StatsigProvider } from 'statsig-react-native'
import { flexStyles, useIsDarkMode } from 'ui/src'
import { config } from 'uniswap/src/config'
import { uniswapUrls } from 'uniswap/src/constants/urls'
import { DUMMY_STATSIG_SDK_KEY } from 'uniswap/src/features/statsig/constants'
import { WALLET_EXPERIMENTS } from 'uniswap/src/features/statsig/experiments'
import { WALLET_FEATURE_FLAG_NAMES } from 'uniswap/src/features/statsig/flags'
import { Statsig } from 'uniswap/src/features/statsig/sdk/statsig'
import { DUMMY_STATSIG_SDK_KEY } from 'uniswap/src/features/gating/constants'
import { WALLET_EXPERIMENTS } from 'uniswap/src/features/gating/experiments'
import { WALLET_FEATURE_FLAG_NAMES } from 'uniswap/src/features/gating/flags'
import { Statsig } from 'uniswap/src/features/gating/sdk/statsig'
import { UnitagUpdaterContextProvider } from 'uniswap/src/features/unitags/context'
import i18n from 'uniswap/src/i18n/i18n'
import { CurrencyId } from 'uniswap/src/types/currency'
Expand Down
4 changes: 2 additions & 2 deletions apps/mobile/src/app/MobileWalletNavigationProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import { useAppStackNavigation } from 'src/app/navigation/types'
import { closeModal, openModal } from 'src/features/modals/modalSlice'
import { HomeScreenTabIndex } from 'src/screens/HomeScreenTabIndex'
import { Screens } from 'src/screens/Screens'
import { FeatureFlags } from 'uniswap/src/features/statsig/flags'
import { useFeatureFlag } from 'uniswap/src/features/statsig/hooks'
import { FeatureFlags } from 'uniswap/src/features/gating/flags'
import { useFeatureFlag } from 'uniswap/src/features/gating/hooks'
import { logger } from 'utilities/src/logger/logger'
import { ScannerModalState } from 'wallet/src/components/QRCodeScanner/constants'
import {
Expand Down
25 changes: 6 additions & 19 deletions apps/mobile/src/app/modals/AccountSwitcherModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ import {
useSporeColors,
} from 'ui/src'
import { spacing } from 'ui/src/theme'
import { FeatureFlags } from 'uniswap/src/features/statsig/flags'
import { useFeatureFlag } from 'uniswap/src/features/statsig/hooks'
import { isAndroid } from 'uniswap/src/utils/platform'
import { AddressDisplay } from 'wallet/src/components/accounts/AddressDisplay'
import { ActionSheetModal, MenuItemProp } from 'wallet/src/components/modals/ActionSheetModal'
Expand Down Expand Up @@ -76,7 +74,6 @@ export function AccountSwitcher({ onClose }: { onClose: () => void }): JSX.Eleme
const dispatch = useAppDispatch()
const hasImportedSeedPhrase = useNativeAccountExists()
const modalState = useAppSelector(selectModalState(ModalName.AccountSwitcher))
const unitagsFeatureFlagEnabled = useFeatureFlag(FeatureFlags.Unitags)
const onCompleteOnboarding = useCompleteOnboardingCallback({
entryPoint: OnboardingEntryPoint.Sidebar,
importType: hasImportedSeedPhrase ? ImportType.CreateAdditional : ImportType.CreateNew,
Expand Down Expand Up @@ -132,25 +129,15 @@ export function AccountSwitcher({ onClose }: { onClose: () => void }): JSX.Eleme
dispatch(pendingAccountActions.trigger(PendingAccountActions.ActivateOneAndDelete))
dispatch(createAccountActions.trigger())

if (unitagsFeatureFlagEnabled) {
if (hasImportedSeedPhrase) {
setCreatedAdditionalAccount(true)
} else {
// create pending account and place into welcome flow
navigate(Screens.OnboardingStack, {
screen: OnboardingScreens.WelcomeWallet,
params: {
importType: ImportType.CreateNew,
entryPoint: OnboardingEntryPoint.Sidebar,
},
})
}
if (hasImportedSeedPhrase) {
setCreatedAdditionalAccount(true)
} else {
// create pending account and place into welcome flow
navigate(Screens.OnboardingStack, {
screen: OnboardingScreens.EditName,
screen: OnboardingScreens.WelcomeWallet,
params: {
importType: ImportType.CreateNew,
entryPoint: OnboardingEntryPoint.Sidebar,
importType: hasImportedSeedPhrase ? ImportType.CreateAdditional : ImportType.CreateNew,
},
})
}
Expand Down Expand Up @@ -267,7 +254,7 @@ export function AccountSwitcher({ onClose }: { onClose: () => void }): JSX.Eleme
}

return options
}, [activeAccountAddress, dispatch, hasImportedSeedPhrase, onClose, t, unitagsFeatureFlagEnabled])
}, [activeAccountAddress, dispatch, hasImportedSeedPhrase, onClose, t])

const accountsWithoutActive = accounts.filter((a) => a.address !== activeAccountAddress)

Expand Down
8 changes: 4 additions & 4 deletions apps/mobile/src/app/modals/ExperimentsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ import {
Experiments,
WALLET_EXPERIMENTS,
getExperimentDefinition,
} from 'uniswap/src/features/statsig/experiments'
} from 'uniswap/src/features/gating/experiments'
import {
FeatureFlags,
WALLET_FEATURE_FLAG_NAMES,
getFeatureFlagName,
} from 'uniswap/src/features/statsig/flags'
} from 'uniswap/src/features/gating/flags'
import {
useExperimentValueWithExposureLoggingDisabled,
useFeatureFlagWithExposureLoggingDisabled,
} from 'uniswap/src/features/statsig/hooks'
import { Statsig } from 'uniswap/src/features/statsig/sdk/statsig'
} from 'uniswap/src/features/gating/hooks'
import { Statsig } from 'uniswap/src/features/gating/sdk/statsig'
import { Switch } from 'wallet/src/components/buttons/Switch'
import { TextInput } from 'wallet/src/components/input/TextInput'
import { BottomSheetModal } from 'wallet/src/components/modals/BottomSheetModal'
Expand Down
4 changes: 2 additions & 2 deletions apps/mobile/src/app/modals/TransferTokenModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { selectModalState } from 'src/features/modals/selectModalState'
import { TransferFlow } from 'src/features/transactions/transfer/TransferFlow'
import { TransferFlow as TransferFlowRewrite } from 'src/features/transactions/transfer/transferRewrite/TransferFlow'
import { useSporeColors } from 'ui/src'
import { FeatureFlags } from 'uniswap/src/features/statsig/flags'
import { useFeatureFlag } from 'uniswap/src/features/statsig/hooks'
import { FeatureFlags } from 'uniswap/src/features/gating/flags'
import { useFeatureFlag } from 'uniswap/src/features/gating/hooks'
import { BottomSheetModal } from 'wallet/src/components/modals/BottomSheetModal'
import { ModalName } from 'wallet/src/telemetry/constants'

Expand Down
6 changes: 2 additions & 4 deletions apps/mobile/src/app/navigation/navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ import { BackupScreen } from 'src/screens/Onboarding/BackupScreen'
import { CloudBackupPasswordConfirmScreen } from 'src/screens/Onboarding/CloudBackupPasswordConfirmScreen'
import { CloudBackupPasswordCreateScreen } from 'src/screens/Onboarding/CloudBackupPasswordCreateScreen'
import { CloudBackupProcessingScreen } from 'src/screens/Onboarding/CloudBackupProcessingScreen'
import { EditNameScreen } from 'src/screens/Onboarding/EditNameScreen'
import { LandingScreen } from 'src/screens/Onboarding/LandingScreen'
import { ManualBackupScreen } from 'src/screens/Onboarding/ManualBackupScreen'
import { NotificationsSetupScreen } from 'src/screens/Onboarding/NotificationsSetupScreen'
Expand All @@ -64,8 +63,8 @@ import { TokenDetailsScreen } from 'src/screens/TokenDetailsScreen'
import { WebViewScreen } from 'src/screens/WebViewScreen'
import { Icons, useDeviceInsets, useSporeColors } from 'ui/src'
import { spacing } from 'ui/src/theme'
import { FeatureFlags } from 'uniswap/src/features/statsig/flags'
import { useFeatureFlag } from 'uniswap/src/features/statsig/hooks'
import { FeatureFlags } from 'uniswap/src/features/gating/flags'
import { useFeatureFlag } from 'uniswap/src/features/gating/hooks'
import { OnboardingEntryPoint } from 'wallet/src/features/onboarding/types'
import { useActiveAccountWithThrow } from 'wallet/src/features/wallet/hooks'
import { selectFinishedOnboarding } from 'wallet/src/features/wallet/selectors'
Expand Down Expand Up @@ -249,7 +248,6 @@ export function OnboardingStackNavigator(): JSX.Element {
name={UnitagScreens.ChooseProfilePicture}
options={{ ...TransitionPresets.ModalFadeTransition }}
/>
<OnboardingStack.Screen component={EditNameScreen} name={OnboardingScreens.EditName} />
<OnboardingStack.Screen component={BackupScreen} name={OnboardingScreens.Backup} />
<OnboardingStack.Screen
component={NotificationsSetupScreen}
Expand Down
1 change: 0 additions & 1 deletion apps/mobile/src/app/navigation/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ export type OnboardingStackParamList = {
[OnboardingScreens.BackupCloudProcessing]: CloudBackupFormParams & OnboardingStackBaseParams
[OnboardingScreens.Backup]: OnboardingStackBaseParams
[OnboardingScreens.Landing]: OnboardingStackBaseParams
[OnboardingScreens.EditName]: OnboardingStackBaseParams
[OnboardingScreens.Notifications]: OnboardingStackBaseParams
[OnboardingScreens.WelcomeWallet]: OnboardingStackBaseParams
[OnboardingScreens.Security]: OnboardingStackBaseParams
Expand Down
13 changes: 2 additions & 11 deletions apps/mobile/src/app/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { logger } from 'utilities/src/logger/logger'
import { fiatOnRampAggregatorApi, fiatOnRampApi } from 'wallet/src/features/fiatOnRamp/api'
import { importAccountSagaName } from 'wallet/src/features/wallet/import/importAccountSaga'
import { createStore } from 'wallet/src/state'
import { RootReducerNames } from 'wallet/src/state/reducer'
import { RootReducerNames, sharedPersistedStateWhitelist } from 'wallet/src/state/reducer'
import { MobileState, ReducerNames, mobileReducer } from './reducer'
import { mobileSaga } from './saga'

Expand Down Expand Up @@ -54,21 +54,12 @@ const rtkQueryErrorLogger: Middleware = () => (next) => (action: PayloadAction<u
}

const whitelist: Array<ReducerNames | RootReducerNames> = [
'appearanceSettings',
'behaviorHistory',
...sharedPersistedStateWhitelist,
'biometricSettings',
'favorites',
'notifications',
'passwordLockout',
'searchHistory',
'telemetry',
'tokens',
'transactions',
'tweaks',
'wallet',
'cloudBackup',
'languageSettings',
'fiatCurrencySettings',
]

export const persistConfig = {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from 'react'
import { Flex, Separator, Text, Unicon, UniconV2, useSporeColors } from 'ui/src'
import Check from 'ui/src/assets/icons/check.svg'
import { FeatureFlags } from 'uniswap/src/features/statsig/flags'
import { useFeatureFlag } from 'uniswap/src/features/statsig/hooks'
import { FeatureFlags } from 'uniswap/src/features/gating/flags'
import { useFeatureFlag } from 'uniswap/src/features/gating/hooks'
import { DisplayNameText } from 'wallet/src/components/accounts/DisplayNameText'
import { Account } from 'wallet/src/features/wallet/accounts/types'
import { useDisplayName } from 'wallet/src/features/wallet/hooks'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import { Flex, HapticFeedback, Text, TouchableArea, useIsDarkMode, useSporeColor
import Scan from 'ui/src/assets/icons/receive.svg'
import ScanQRIcon from 'ui/src/assets/icons/scan.svg'
import { iconSizes } from 'ui/src/theme'
import { FeatureFlags } from 'uniswap/src/features/statsig/flags'
import { useFeatureFlag } from 'uniswap/src/features/statsig/hooks'
import { FeatureFlags } from 'uniswap/src/features/gating/flags'
import { useFeatureFlag } from 'uniswap/src/features/gating/hooks'
import { logger } from 'utilities/src/logger/logger'
import { WalletQRCode } from 'wallet/src/components/QRCodeScanner/WalletQRCode'
import { ScannerModalState } from 'wallet/src/components/QRCodeScanner/constants'
Expand Down
4 changes: 2 additions & 2 deletions apps/mobile/src/components/WalletConnect/ScanSheet/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import {
UNISWAP_URL_SCHEME_WALLETCONNECT_AS_PARAM,
UNISWAP_WALLETCONNECT_URL,
} from 'src/features/deepLinking/constants'
import { DynamicConfigs } from 'uniswap/src/features/statsig/configs'
import { useDynamicConfig } from 'uniswap/src/features/statsig/hooks'
import { DynamicConfigs } from 'uniswap/src/features/gating/configs'
import { useDynamicConfig } from 'uniswap/src/features/gating/hooks'
import { logger } from 'utilities/src/logger/logger'
import { RPCType } from 'wallet/src/constants/chains'
import { AssetType } from 'wallet/src/entities/assets'
Expand Down
4 changes: 2 additions & 2 deletions apps/mobile/src/components/accounts/AccountHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { openModal } from 'src/features/modals/modalSlice'
import { setUserProperty } from 'src/features/telemetry'
import { UserPropertyName } from 'src/features/telemetry/constants'
import { Screens } from 'src/screens/Screens'
import { isDevBuild } from 'src/utils/version'
import { Flex, HapticFeedback, Icons, ImpactFeedbackStyle, Text, TouchableArea } from 'ui/src'
import { isDevEnv } from 'uniswap/src/utils/env'
import { AccountIcon } from 'wallet/src/components/accounts/AccountIcon'
import { AnimatedUnitagDisplayName } from 'wallet/src/components/accounts/AnimatedUnitagDisplayName'
import { pushNotification } from 'wallet/src/features/notifications/slice'
Expand Down Expand Up @@ -87,7 +87,7 @@ export function AccountHeader(): JSX.Element {
hitSlop={20}
testID={ElementName.Manage}
onLongPress={async (): Promise<void> => {
if (isDevBuild()) {
if (isDevEnv()) {
await HapticFeedback.selection()
dispatch(openModal({ name: ModalName.Experiments }))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import configureMockStore from 'redux-mock-store'
import { Screens } from 'src/screens/Screens'
import { preloadedMobileState } from 'src/test/fixtures'
import { fireEvent, render } from 'src/test/test-utils'
import * as unitagHooks from 'uniswap/src/features/unitags/hooks'
import * as ensHooks from 'wallet/src/features/ens/api'
import * as unitagHooks from 'wallet/src/features/unitags/hooks'
import {
ON_PRESS_EVENT_PAYLOAD,
SAMPLE_SEED_ADDRESS_1,
Expand Down

0 comments on commit 3757840

Please sign in to comment.