diff --git a/package.json b/package.json index eea885d6c4..010eb540c4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "safe-wallet-web", - "homepage": "https://github.com/safe-global/safe-wallet-web", + "name": "web-core", + "homepage": "https://github.com/etclabscore/web-core", "license": "GPL-3.0", "type": "module", "version": "1.18.0", @@ -17,7 +17,7 @@ "test:coverage": "yarn test --coverage --watchAll=false", "cmp": "./scripts/cmp.sh", "routes": "node scripts/generate-routes.js > src/config/routes.ts && prettier -w src/config/routes.ts && cat src/config/routes.ts", - "css-vars": "ts-node-esm ./scripts/css-vars.ts > ./src/styles/vars.css && prettier -w src/styles/vars.css", + "css-vars": "npx -y tsx ./scripts/css-vars.ts > ./src/styles/vars.css && prettier -w src/styles/vars.css", "generate-types": "typechain --target ethers-v5 --out-dir src/types/contracts ./node_modules/@safe-global/safe-deployments/dist/assets/**/*.json ./node_modules/@safe-global/safe-modules-deployments/dist/assets/**/*.json ./node_modules/@openzeppelin/contracts/build/contracts/ERC20.json ./node_modules/@openzeppelin/contracts/build/contracts/ERC721.json", "postinstall": "yarn generate-types && yarn css-vars", "analyze": "cross-env ANALYZE=true yarn build", diff --git a/public/favicon.ico b/public/favicon.ico index 5e6e26a3f1..b7bfe78fc9 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/public/favicons/android-chrome-192x192.png b/public/favicons/android-chrome-192x192.png index 6be9f3b240..96e053deb2 100644 Binary files a/public/favicons/android-chrome-192x192.png and b/public/favicons/android-chrome-192x192.png differ diff --git a/public/favicons/android-chrome-512x512.png b/public/favicons/android-chrome-512x512.png index bb78db0621..888e783bf0 100644 Binary files a/public/favicons/android-chrome-512x512.png and b/public/favicons/android-chrome-512x512.png differ diff --git a/public/favicons/apple-touch-icon.png b/public/favicons/apple-touch-icon.png index 06c2c126dc..769780e2b0 100644 Binary files a/public/favicons/apple-touch-icon.png and b/public/favicons/apple-touch-icon.png differ diff --git a/public/favicons/favicon-16x16.png b/public/favicons/favicon-16x16.png index 48e8856905..453e6c1967 100644 Binary files a/public/favicons/favicon-16x16.png and b/public/favicons/favicon-16x16.png differ diff --git a/public/favicons/favicon-32x32.png b/public/favicons/favicon-32x32.png index bb3578d108..d4f4ccd399 100644 Binary files a/public/favicons/favicon-32x32.png and b/public/favicons/favicon-32x32.png differ diff --git a/public/favicons/favicon.ico b/public/favicons/favicon.ico index 5e6e26a3f1..b7bfe78fc9 100644 Binary files a/public/favicons/favicon.ico and b/public/favicons/favicon.ico differ diff --git a/public/favicons/logo_120x120.png b/public/favicons/logo_120x120.png deleted file mode 100644 index 8a7a9b3aa1..0000000000 Binary files a/public/favicons/logo_120x120.png and /dev/null differ diff --git a/public/favicons/mstile-144x144.png b/public/favicons/mstile-144x144.png deleted file mode 100644 index 8daab68d1d..0000000000 Binary files a/public/favicons/mstile-144x144.png and /dev/null differ diff --git a/public/favicons/mstile-150x150.png b/public/favicons/mstile-150x150.png index 38e4709b4f..6e916547f1 100644 Binary files a/public/favicons/mstile-150x150.png and b/public/favicons/mstile-150x150.png differ diff --git a/public/favicons/mstile-310x150.png b/public/favicons/mstile-310x150.png deleted file mode 100644 index 808cde5299..0000000000 Binary files a/public/favicons/mstile-310x150.png and /dev/null differ diff --git a/public/favicons/mstile-310x310.png b/public/favicons/mstile-310x310.png deleted file mode 100644 index 3dee417753..0000000000 Binary files a/public/favicons/mstile-310x310.png and /dev/null differ diff --git a/public/favicons/mstile-70x70.png b/public/favicons/mstile-70x70.png deleted file mode 100644 index 888b1febda..0000000000 Binary files a/public/favicons/mstile-70x70.png and /dev/null differ diff --git a/public/favicons/safari-pinned-tab.svg b/public/favicons/safari-pinned-tab.svg index 1843631e21..4e85dfba87 100644 --- a/public/favicons/safari-pinned-tab.svg +++ b/public/favicons/safari-pinned-tab.svg @@ -2,32 +2,793 @@ Created by potrace 1.14, written by Peter Selinger 2001-2017 - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/ethereum-classic-etc-logo.svg b/public/images/ethereum-classic-etc-logo.svg new file mode 100644 index 0000000000..e0ddf3e3ef --- /dev/null +++ b/public/images/ethereum-classic-etc-logo.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/logo.svg b/public/images/logo.svg index 86df9fc8f9..e0ddf3e3ef 100644 --- a/public/images/logo.svg +++ b/public/images/logo.svg @@ -1,14 +1,25 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/safe-logo-green.png b/public/images/safe-logo-green.png index 85a43140c7..0c4f3e9186 100644 Binary files a/public/images/safe-logo-green.png and b/public/images/safe-logo-green.png differ diff --git a/public/safe.webmanifest b/public/safe.webmanifest index 003496b6ff..a2b0e7ddc1 100644 --- a/public/safe.webmanifest +++ b/public/safe.webmanifest @@ -1,7 +1,7 @@ { - "name": "Safe", - "short_name": "Safe", - "description": "Safe (prev. Gnosis Safe) is the most trusted platform to manage digital assets on Ethereum and multiple EVMs. Over $40B secured.", + "name": "Catacomb ETC Wallet", + "short_name": "ETC Multisig", + "description": "Catacomb ETC Wallet is the most trusted platform to manage digital assets on Ethereum and multiple EVMs.", "icons": [ { "src": "/favicons/android-chrome-192x192.png", diff --git a/src/components/common/Footer/index.tsx b/src/components/common/Footer/index.tsx index afd19922e0..a210f76b78 100644 --- a/src/components/common/Footer/index.tsx +++ b/src/components/common/Footer/index.tsx @@ -5,7 +5,6 @@ import { useRouter } from 'next/router' import css from './styles.module.css' import { AppRoutes } from '@/config/routes' import packageJson from '../../../../package.json' -import AppstoreButton from '../AppStoreButton' import ExternalLink from '../ExternalLink' import MUILink from '@mui/material/Link' import { IS_DEV, IS_OFFICIAL_HOST } from '@/config/constants' @@ -73,12 +72,20 @@ const Footer = (): ReactElement | null => { )}
  • - - v{packageJson.version} + ©2022–{new Date().getFullYear()} ETC Cooperative +
  • +
  • + + Ethereum Classic Network
  • - + Preferences +
  • +
  • + + v{packageJson.version} +
  • diff --git a/src/components/common/Header/index.tsx b/src/components/common/Header/index.tsx index f507662409..85901bf500 100644 --- a/src/components/common/Header/index.tsx +++ b/src/components/common/Header/index.tsx @@ -1,20 +1,20 @@ -import type { Dispatch, SetStateAction } from 'react' -import { type ReactElement } from 'react' -import { useRouter } from 'next/router' -import { IconButton, Paper } from '@mui/material' -import MenuIcon from '@mui/icons-material/Menu' -import classnames from 'classnames' -import css from './styles.module.css' +import BatchIndicator from '@/components/batch/BatchIndicator' import ConnectWallet from '@/components/common/ConnectWallet' import NetworkSelector from '@/components/common/NetworkSelector' import SafeTokenWidget, { getSafeTokenAddress } from '@/components/common/SafeTokenWidget' import NotificationCenter from '@/components/notification-center/NotificationCenter' import { AppRoutes } from '@/config/routes' import useChainId from '@/hooks/useChainId' -import SafeLogo from '@/public/images/logo.svg' -import Link from 'next/link' import useSafeAddress from '@/hooks/useSafeAddress' -import BatchIndicator from '@/components/batch/BatchIndicator' +import ETCLogo from '@/public/images/ethereum-classic-etc-logo.svg' +import MenuIcon from '@mui/icons-material/Menu' +import { IconButton, Paper } from '@mui/material' +import classnames from 'classnames' +import Link from 'next/link' +import { useRouter } from 'next/router' +import type { Dispatch, SetStateAction } from 'react' +import { type ReactElement } from 'react' +import css from './styles.module.css' type HeaderProps = { onMenuToggle?: Dispatch> @@ -54,7 +54,7 @@ const Header = ({ onMenuToggle, onBatchToggle }: HeaderProps): ReactElement => {
    - +
    diff --git a/src/components/common/MetaTags/index.tsx b/src/components/common/MetaTags/index.tsx index a53c3f37c0..91d49d6f1f 100644 --- a/src/components/common/MetaTags/index.tsx +++ b/src/components/common/MetaTags/index.tsx @@ -1,10 +1,10 @@ import { IS_PRODUCTION } from '@/config/constants' import { ContentSecurityPolicy, StrictTransportSecurity } from '@/config/securityHeaders' -import { lightPalette, darkPalette } from '@safe-global/safe-react-components' +import { darkPalette, lightPalette } from '@safe-global/safe-react-components' const descriptionText = - 'Safe (prev. Gnosis Safe) is the most trusted platform to manage digital assets on Ethereum and multiple EVMs. Over $40B secured.' -const titleText = 'Safe{Wallet}' + 'Catacomb ETC Wallet is the most trusted platform to manage digital assets on Ethereum and multiple EVMs.' +const titleText = 'Catacomb ETC Wallet' const MetaTags = ({ prefetchUrl }: { prefetchUrl: string }) => ( <> @@ -15,7 +15,7 @@ const MetaTags = ({ prefetchUrl }: { prefetchUrl: string }) => ( - + diff --git a/src/components/dashboard/CreationDialog/index.tsx b/src/components/dashboard/CreationDialog/index.tsx index 07a417f4e5..631cee3b03 100644 --- a/src/components/dashboard/CreationDialog/index.tsx +++ b/src/components/dashboard/CreationDialog/index.tsx @@ -44,7 +44,7 @@ const CreationDialog = () => { - Welcome to {'Safe{Wallet}'}! + Welcome to {'Catacomb ETC Wallet'}! Congratulations on your first step to truly unlock ownership. Enjoy the experience and discover our app. @@ -70,7 +70,7 @@ const CreationDialog = () => { diff --git a/src/components/new-safe/create/OverviewWidget/index.tsx b/src/components/new-safe/create/OverviewWidget/index.tsx index b6f463ec6a..9e02530a52 100644 --- a/src/components/new-safe/create/OverviewWidget/index.tsx +++ b/src/components/new-safe/create/OverviewWidget/index.tsx @@ -2,9 +2,9 @@ import ChainIndicator from '@/components/common/ChainIndicator' import WalletInfo from '@/components/common/WalletInfo' import { useCurrentChain } from '@/hooks/useChains' import useWallet from '@/hooks/wallets/useWallet' +import ETCLogo from '@/public/images/ethereum-classic-etc-logo.svg' import { Card, Grid, Typography } from '@mui/material' import type { ReactElement } from 'react' -import SafeLogo from '@/public/images/logo-no-text.svg' import css from '@/components/new-safe/create/OverviewWidget/styles.module.css' @@ -23,7 +23,7 @@ const OverviewWidget = ({ safeName }: { safeName: string }): ReactElement | null
    - + Your Safe Account preview
    {wallet ? ( diff --git a/src/components/sidebar/SidebarFooter/index.tsx b/src/components/sidebar/SidebarFooter/index.tsx index 6624930784..c2119e6da9 100644 --- a/src/components/sidebar/SidebarFooter/index.tsx +++ b/src/components/sidebar/SidebarFooter/index.tsx @@ -1,5 +1,5 @@ import type { ReactElement } from 'react' -import { useCallback, useEffect } from 'react' +// import { useCallback, useEffect } from 'react' import { SidebarList, @@ -7,11 +7,11 @@ import { SidebarListItemIcon, SidebarListItemText, } from '@/components/sidebar/SidebarList' -import { BEAMER_SELECTOR, loadBeamer } from '@/services/beamer' +// import { BEAMER_SELECTOR, loadBeamer } from '@/services/beamer' import { useAppDispatch, useAppSelector } from '@/store' -import { selectCookies, CookieType } from '@/store/cookiesSlice' -import { openCookieBanner } from '@/store/popupSlice' -import BeamerIcon from '@/public/images/sidebar/whats-new.svg' +import { selectCookies } from '@/store/cookiesSlice' +// import { openCookieBanner } from '@/store/popupSlice' +// import BeamerIcon from '@/public/images/sidebar/whats-new.svg' import HelpCenterIcon from '@/public/images/sidebar/help-center.svg' import { ListItem } from '@mui/material' import DebugToggle from '../DebugToggle' @@ -25,20 +25,20 @@ const SidebarFooter = (): ReactElement => { const cookies = useAppSelector(selectCookies) const chain = useCurrentChain() - const hasBeamerConsent = useCallback(() => cookies[CookieType.UPDATES], [cookies]) + // const hasBeamerConsent = useCallback(() => cookies[CookieType.UPDATES], [cookies]) - useEffect(() => { - // Initialise Beamer when consent was previously given - if (hasBeamerConsent() && chain?.shortName) { - loadBeamer(chain.shortName) - } - }, [hasBeamerConsent, chain?.shortName]) + // useEffect(() => { + // // Initialise Beamer when consent was previously given + // if (hasBeamerConsent() && chain?.shortName) { + // loadBeamer(chain.shortName) + // } + // }, [hasBeamerConsent, chain?.shortName]) - const handleBeamer = () => { - if (!hasBeamerConsent()) { - dispatch(openCookieBanner({ warningKey: CookieType.UPDATES })) - } - } + // const handleBeamer = () => { + // if (!hasBeamerConsent()) { + // dispatch(openCookieBanner({ warningKey: CookieType.UPDATES })) + // } + // } return ( @@ -48,17 +48,6 @@ const SidebarFooter = (): ReactElement => { )} - - - - - - - What's new - - - - diff --git a/src/components/welcome/NewSafe.tsx b/src/components/welcome/NewSafe.tsx index 07cd05dee3..2b0ea2a5f9 100644 --- a/src/components/welcome/NewSafe.tsx +++ b/src/components/welcome/NewSafe.tsx @@ -75,7 +75,7 @@ const NewSafe = () => { color="static.main" mb={1} > - Welcome to {'Safe{Wallet}'} + Welcome to {'Catacomb ETC Wallet'}
    diff --git a/src/hooks/useChainId.ts b/src/hooks/useChainId.ts index 8be8d525ff..aff7d4f191 100644 --- a/src/hooks/useChainId.ts +++ b/src/hooks/useChainId.ts @@ -9,7 +9,7 @@ import { prefixedAddressRe } from '@/utils/url' import useWallet from './wallets/useWallet' import useChains from './useChains' -const defaultChainId = IS_PRODUCTION ? chains.eth : chains.gor +const defaultChainId = IS_PRODUCTION ? chains.etc : chains.gor // Use the location object directly because Next.js's router.query is available only on mount const getLocationQuery = (): ParsedUrlQuery => { diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index 568fa4f1e5..8d44d6a3b6 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -96,7 +96,7 @@ const WebCoreApp = ({ return ( - {'Safe{Wallet}'} + {'Catacomb ETC Wallet'} diff --git a/src/pages/_offline.tsx b/src/pages/_offline.tsx index a36fda8e98..77d697f658 100644 --- a/src/pages/_offline.tsx +++ b/src/pages/_offline.tsx @@ -1,5 +1,5 @@ -import { Box, Paper, Typography } from '@mui/material' import WifiOffIcon from '@mui/icons-material/WifiOff' +import { Box, Paper, Typography } from '@mui/material' import type { NextPage } from 'next' import Head from 'next/head' @@ -7,7 +7,7 @@ const Offline: NextPage = () => { return ( <> - {'Safe{Wallet} – Offline'} + {'Catacomb ETC Wallet – Offline'}
    diff --git a/src/pages/address-book.tsx b/src/pages/address-book.tsx index d1eefe0dfa..1e0787cddf 100644 --- a/src/pages/address-book.tsx +++ b/src/pages/address-book.tsx @@ -1,12 +1,12 @@ +import AddressBookTable from '@/components/address-book/AddressBookTable' import type { NextPage } from 'next' import Head from 'next/head' -import AddressBookTable from '@/components/address-book/AddressBookTable' const AddressBook: NextPage = () => { return ( <> - {'Safe{Wallet} – Address book'} + {'Catacomb ETC Wallet – Address book'} diff --git a/src/pages/apps/index.tsx b/src/pages/apps/index.tsx index 347ec4b99e..c766018b17 100644 --- a/src/pages/apps/index.tsx +++ b/src/pages/apps/index.tsx @@ -30,7 +30,7 @@ const SafeApps: NextPage = () => { return ( <> - {'Safe{Wallet} – Safe Apps'} + {'Catacomb ETC Wallet – Safe Apps'} diff --git a/src/pages/balances/index.tsx b/src/pages/balances/index.tsx index e42868d988..d925ecd61e 100644 --- a/src/pages/balances/index.tsx +++ b/src/pages/balances/index.tsx @@ -20,7 +20,7 @@ const Balances: NextPage = () => { return ( <> - {'Safe{Wallet} – Assets'} + {'Catacomb ETC Wallet – Assets'} diff --git a/src/pages/balances/nfts.tsx b/src/pages/balances/nfts.tsx index 35a4d27fa7..3c1cc7bbdc 100644 --- a/src/pages/balances/nfts.tsx +++ b/src/pages/balances/nfts.tsx @@ -43,7 +43,7 @@ const NFTs: NextPage = () => { return ( <> - {'Safe{Wallet} – NFTs'} + {'Catacomb ETC Wallet – NFTs'} diff --git a/src/pages/cookie.tsx b/src/pages/cookie.tsx index 9fe14fc43e..fc04fe07fb 100644 --- a/src/pages/cookie.tsx +++ b/src/pages/cookie.tsx @@ -1,12 +1,12 @@ +import SafeCookiePolicy from '@/components/cookie-policy' import type { NextPage } from 'next' import Head from 'next/head' -import SafeCookiePolicy from '@/components/cookie-policy' const CookiePolicy: NextPage = () => { return ( <> - {'Safe{Wallet} – Cookie policy'} + {'Catacomb ETC Wallet – Cookie policy'}
    diff --git a/src/pages/home.tsx b/src/pages/home.tsx index 62590cca4c..128960d1d8 100644 --- a/src/pages/home.tsx +++ b/src/pages/home.tsx @@ -7,7 +7,7 @@ const Home: NextPage = () => { return ( <> - {'Safe{Wallet} – Dashboard'} + {'Catacomb ETC Wallet – Dashboard'}
    diff --git a/src/pages/imprint.tsx b/src/pages/imprint.tsx index 61182d1a74..6d8239e0dd 100644 --- a/src/pages/imprint.tsx +++ b/src/pages/imprint.tsx @@ -7,7 +7,7 @@ const Imprint: NextPage = () => { return ( <> - {'Safe{Wallet} – Imprint'} + {'Catacomb ETC Wallet – Imprint'}
    {IS_OFFICIAL_HOST && }
    diff --git a/src/pages/licenses.tsx b/src/pages/licenses.tsx index 56c7e2f20a..88c44f8103 100644 --- a/src/pages/licenses.tsx +++ b/src/pages/licenses.tsx @@ -7,7 +7,7 @@ const Imprint: NextPage = () => { return ( <> - {'Safe{Wallet} – Licenses'} + {'Catacomb ETC Wallet – Licenses'}
    {IS_OFFICIAL_HOST && }
    diff --git a/src/pages/new-safe/create.tsx b/src/pages/new-safe/create.tsx index d8f53e2c55..591d1e1bd0 100644 --- a/src/pages/new-safe/create.tsx +++ b/src/pages/new-safe/create.tsx @@ -7,7 +7,7 @@ const Open: NextPage = () => { return (
    - {'Safe{Wallet} – Create Safe Account'} + {'Catacomb ETC Wallet – Create Safe'} diff --git a/src/pages/new-safe/load.tsx b/src/pages/new-safe/load.tsx index 427436f417..f7e33c932e 100644 --- a/src/pages/new-safe/load.tsx +++ b/src/pages/new-safe/load.tsx @@ -11,7 +11,7 @@ const Load: NextPage = () => { return (
    - {'Safe{Wallet} – Add Safe Account'} + {'Catacomb ETC Wallet – Add Safe'} {safeAddress ? ( diff --git a/src/pages/privacy.tsx b/src/pages/privacy.tsx index 941876bbf8..7d79d4617b 100644 --- a/src/pages/privacy.tsx +++ b/src/pages/privacy.tsx @@ -7,7 +7,7 @@ const PrivacyPolicy: NextPage = () => { return ( <> - {'Safe{Wallet} – Privacy policy'} + {'Catacomb ETC Wallet – Privacy policy'}
    {IS_OFFICIAL_HOST && }
    diff --git a/src/pages/settings/appearance.tsx b/src/pages/settings/appearance.tsx index 6b5bfab4d1..2c035e5560 100644 --- a/src/pages/settings/appearance.tsx +++ b/src/pages/settings/appearance.tsx @@ -43,7 +43,7 @@ const Appearance: NextPage = () => { return ( <> - {'Safe{Wallet} – Settings – Appearance'} + {'Catacomb ETC Wallet – Settings – Appearance'} diff --git a/src/pages/settings/data.tsx b/src/pages/settings/data.tsx index 65d1e44b9f..4cf2071713 100644 --- a/src/pages/settings/data.tsx +++ b/src/pages/settings/data.tsx @@ -7,7 +7,7 @@ const Data: NextPage = () => { return ( <> - {'Safe{Wallet} – Settings – Data'} + {'Catacomb ETC Wallet – Settings – Data'} diff --git a/src/pages/settings/environment-variables.tsx b/src/pages/settings/environment-variables.tsx index 1e46bfa953..ab1670d914 100644 --- a/src/pages/settings/environment-variables.tsx +++ b/src/pages/settings/environment-variables.tsx @@ -7,7 +7,7 @@ const EnvironmentVariablesPage: NextPage = () => { return ( <> - {'Safe{Wallet} – Settings – Environment variables'} + {'Catacomb ETC Wallet – Settings – Environment variables'} diff --git a/src/pages/settings/modules.tsx b/src/pages/settings/modules.tsx index a25bbada52..0981a5e1fe 100644 --- a/src/pages/settings/modules.tsx +++ b/src/pages/settings/modules.tsx @@ -10,7 +10,7 @@ const Modules: NextPage = () => { return ( <> - {'Safe{Wallet} – Settings – Modules'} + {'Catacomb ETC Wallet – Settings – Modules'} diff --git a/src/pages/settings/safe-apps/index.tsx b/src/pages/settings/safe-apps/index.tsx index 3cb576210a..c7a6f636bb 100644 --- a/src/pages/settings/safe-apps/index.tsx +++ b/src/pages/settings/safe-apps/index.tsx @@ -9,7 +9,7 @@ const SafeAppsPermissionsPage: NextPage = () => { return ( <> - {'Safe{Wallet} – Settings – Safe Apps'} + {'Catacomb ETC Wallet – Settings – Safe Apps permissions'} diff --git a/src/pages/settings/setup.tsx b/src/pages/settings/setup.tsx index a551c4a177..ff519fd7e3 100644 --- a/src/pages/settings/setup.tsx +++ b/src/pages/settings/setup.tsx @@ -18,7 +18,7 @@ const Setup: NextPage = () => { return ( <> - {'Safe{Wallet} – Settings – Setup'} + {'Catacomb ETC Wallet – Settings – Setup'} diff --git a/src/pages/settings/spending-limits.tsx b/src/pages/settings/spending-limits.tsx index 2919ad3675..40e6745188 100644 --- a/src/pages/settings/spending-limits.tsx +++ b/src/pages/settings/spending-limits.tsx @@ -7,7 +7,7 @@ const SpendingLimitsPage: NextPage = () => { return ( <> - {'Safe{Wallet} – Settings – Spending limit'} + {'Catacomb ETC Wallet – Settings – Spending limit'} diff --git a/src/pages/terms.tsx b/src/pages/terms.tsx index 369d05aad3..3e0d9482b4 100644 --- a/src/pages/terms.tsx +++ b/src/pages/terms.tsx @@ -7,7 +7,7 @@ const Imprint: NextPage = () => { return ( <> - {'Safe{Wallet} – Terms'} + {'Catacomb ETC Wallet – Terms'}
    {IS_OFFICIAL_HOST && }
    diff --git a/src/pages/transactions/history.tsx b/src/pages/transactions/history.tsx index bfa605e209..d243aa5086 100644 --- a/src/pages/transactions/history.tsx +++ b/src/pages/transactions/history.tsx @@ -24,7 +24,7 @@ const History: NextPage = () => { return ( <> - {'Safe{Wallet} – Transaction history'} + {'Catacomb ETC Wallet – Transaction history'} diff --git a/src/pages/transactions/messages.tsx b/src/pages/transactions/messages.tsx index 952ad618f8..205f6b775d 100644 --- a/src/pages/transactions/messages.tsx +++ b/src/pages/transactions/messages.tsx @@ -26,7 +26,7 @@ const Messages: NextPage = () => { return ( <> - {'Safe{Wallet} – Messages'} + {'Catacomb ETC Wallet – Messages'} diff --git a/src/pages/transactions/queue.tsx b/src/pages/transactions/queue.tsx index 8c7c8d0b1f..e25f044b49 100644 --- a/src/pages/transactions/queue.tsx +++ b/src/pages/transactions/queue.tsx @@ -14,7 +14,7 @@ const Queue: NextPage = () => { return ( <> - {'Safe{Wallet} – Transaction queue'} + {'Catacomb ETC Wallet – Transaction queue'} diff --git a/src/pages/transactions/tx.tsx b/src/pages/transactions/tx.tsx index cc89616eea..bab412b8ba 100644 --- a/src/pages/transactions/tx.tsx +++ b/src/pages/transactions/tx.tsx @@ -8,7 +8,7 @@ const SingleTransaction: NextPage = () => { return ( <> - {'Safe{Wallet} – Transaction details'} + {'Catacomb ETC Wallet – Transaction details'}
    diff --git a/src/pages/welcome.tsx b/src/pages/welcome.tsx index 6a6506b4d6..4664ed6550 100644 --- a/src/pages/welcome.tsx +++ b/src/pages/welcome.tsx @@ -1,12 +1,12 @@ +import NewSafe from '@/components/welcome/NewSafe' import type { NextPage } from 'next' import Head from 'next/head' -import NewSafe from '@/components/welcome/NewSafe' const Welcome: NextPage = () => { return ( <> - {'Safe{Wallet} – Welcome'} + {'Catacomb ETC Wallet – Welcome'} diff --git a/src/services/sentry.ts b/src/services/sentry.ts index 6ddb946361..d6fc92bb94 100644 --- a/src/services/sentry.ts +++ b/src/services/sentry.ts @@ -1,9 +1,10 @@ +import { SENTRY_DSN } from '@/config/constants' import * as Sentry from '@sentry/react' import { Integrations } from '@sentry/tracing' -import { SENTRY_DSN } from '@/config/constants' import packageJson from '../../package.json' Sentry.init({ + enabled: false, // disable sentry on ETC dsn: SENTRY_DSN, release: `safe-wallet-web@${packageJson.version}`, integrations: [new Integrations.BrowserTracing()], @@ -12,17 +13,19 @@ Sentry.init({ ignoreErrors: ['Internal JSON-RPC error', 'JsonRpcEngine', 'Non-Error promise rejection captured with keys: code'], beforeSend: (event) => { + return null // disable sentry on ETC + // Remove sensitive URL query params - const query = event.request?.query_string - if (event.request && query) { - const appUrl = typeof query !== 'string' && !Array.isArray(query) ? query.appUrl : '' - if (appUrl) { - event.request.query_string = { appUrl } - } else { - delete event.request.query_string - } - } - return event + // const query = event.request?.query_string + // if (event.request && query) { + // const appUrl = typeof query !== 'string' && !Array.isArray(query) ? query.appUrl : '' + // if (appUrl) { + // event.request.query_string = { appUrl } + // } else { + // delete event.request.query_string + // } + // } + // return event }, })