Skip to content

Commit

Permalink
fix: remove wherever (#7985)
Browse files Browse the repository at this point in the history
  • Loading branch information
NeOMakinG authored Oct 23, 2024
1 parent fccf316 commit de0f8e5
Show file tree
Hide file tree
Showing 9 changed files with 62 additions and 886 deletions.
4 changes: 0 additions & 4 deletions .env.base
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ REACT_APP_FEATURE_SAVERS_VAULTS_DEPOSIT=true
REACT_APP_FEATURE_SAVERS_VAULTS_WITHDRAW=true
REACT_APP_FEATURE_WALLET_CONNECT_TO_DAPPS_V2=true
REACT_APP_FEATURE_WALLET_CONNECT_TO_DAPPS=true
REACT_APP_FEATURE_WHEREVER=true
REACT_APP_FEATURE_YAT=true
REACT_APP_FEATURE_NFT_METADATA=false
REACT_APP_FEATURE_CHATWOOT=false
Expand Down Expand Up @@ -138,9 +137,6 @@ REACT_APP_KEEPKEY_UPDATER_BASE_URL=https://github.com/keepkey/keepkey-updater/re
# etherscan
REACT_APP_ETHERSCAN_API_KEY=XT8BI6VDYUGD9675X861ATHZNK3AN6HRMF

# wherever
REACT_APP_WHEREVER_PARTNER_KEY=00da1f18-3bba-4b71-824c-21e5ed772dfa

# WalletConnect
REACT_APP_WALLET_CONNECT_TO_DAPPS_PROJECT_ID=a28cc4392a374056df13372b666190a0
REACT_APP_WALLET_CONNECT_WALLET_PROJECT_ID=f58c0242def84c3b9befe9b1e6086bbd
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
"@formatjs/intl-locale": "^3.0.2",
"@formatjs/intl-numberformat": "^8.10.3",
"@formatjs/intl-pluralrules": "^5.2.14",
"@json-rpc-tools/utils": "^1.7.6",
"@keepkey/hdwallet-keepkey-rest": "1.40.42",
"@keepkey/keepkey-sdk": "0.2.57",
"@ledgerhq/hw-transport-webusb": "^6.29.2",
Expand Down Expand Up @@ -122,7 +123,6 @@
"@walletconnect/core": "^2.15.1",
"@walletconnect/utils": "^2.15.1",
"@walletconnect/web3wallet": "^1.14.1",
"@wherever/react-notification-feed": "^0.4.4",
"alchemy-sdk": "^3.4.1",
"allsettled-polyfill": "^1.0.4",
"axios": "^1.7.4",
Expand Down Expand Up @@ -311,7 +311,6 @@
"react-scripts/workbox-webpack-plugin": "^7.1.0",
"p-queue": "^6.6.2",
"web3": "4.2.1-dev.a0d6730.0",
"@wherever/react-notification-feed/wagmi": "^0.10.12",
"react-scripts@^5.0.1": "patch:react-scripts@npm%3A5.0.1#./.yarn/patches/react-scripts-npm-5.0.1-d06bd2d5ad.patch"
}
}
21 changes: 0 additions & 21 deletions react-app-rewired/headers/csps/plugins/wherever.ts

This file was deleted.

2 changes: 0 additions & 2 deletions src/components/Layout/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import { DegradedStateBanner } from './DegradedStateBanner'
import { GlobalSeachButton } from './GlobalSearch/GlobalSearchButton'
import { ChainMenu } from './NavBar/ChainMenu'
import { MobileNavBar } from './NavBar/MobileNavBar'
import { Notifications } from './NavBar/Notifications'
import { UserMenu } from './NavBar/UserMenu'
import { TxWindow } from './TxWindow/TxWindow'

Expand Down Expand Up @@ -246,7 +245,6 @@ export const Header = memo(() => {
)}
{isLargerThanMd && <ChainMenu display={displayProp2} />}
{isConnected && <TxWindow />}
<Notifications />
{isLargerThanMd && (
<Box display={displayProp2}>
<UserMenu />
Expand Down
198 changes: 0 additions & 198 deletions src/components/Layout/Header/NavBar/Notifications.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ const validators = {
default: 'https://github.com/keepkey/keepkey-updater/releases/download/v2.1.4/',
}),
REACT_APP_ETHERSCAN_API_KEY: str({ default: 'XT8BI6VDYUGD9675X861ATHZNK3AN6HRMF' }),
REACT_APP_WHEREVER_PARTNER_KEY: str({ default: 'REPLACE_WHEN_MADE_DELEGATE' }),
REACT_APP_FEATURE_WHEREVER: bool({ default: false }),
REACT_APP_MIXPANEL_TOKEN: str(),
REACT_APP_SNAPSHOT_BASE_URL: url({
default: 'https://snapshot.org/#/shapeshiftdao.eth',
Expand Down
2 changes: 0 additions & 2 deletions src/state/slices/preferencesSlice/preferencesSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export type FeatureFlags = {
Yat: boolean
WalletConnectToDapps: boolean
WalletConnectToDappsV2: boolean
Wherever: boolean
SaversVaults: boolean
SaversVaultsDeposit: boolean
SaversVaultsWithdraw: boolean
Expand Down Expand Up @@ -118,7 +117,6 @@ const initialState: Preferences = {
Yat: getConfig().REACT_APP_FEATURE_YAT,
WalletConnectToDappsV2: getConfig().REACT_APP_FEATURE_WALLET_CONNECT_TO_DAPPS_V2,
WalletConnectToDapps: getConfig().REACT_APP_FEATURE_WALLET_CONNECT_TO_DAPPS,
Wherever: getConfig().REACT_APP_FEATURE_WHEREVER,
SaversVaults: getConfig().REACT_APP_FEATURE_SAVERS_VAULTS,
SaversVaultsDeposit: getConfig().REACT_APP_FEATURE_SAVERS_VAULTS_DEPOSIT,
SaversVaultsWithdraw: getConfig().REACT_APP_FEATURE_SAVERS_VAULTS_WITHDRAW,
Expand Down
1 change: 0 additions & 1 deletion src/test/mocks/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ export const mockStore: ReduxState = {
Yat: false,
WalletConnectToDapps: false,
WalletConnectToDappsV2: false,
Wherever: false,
SaversVaults: false,
SaversVaultsDeposit: false,
SaversVaultsWithdraw: false,
Expand Down
Loading

0 comments on commit de0f8e5

Please sign in to comment.