Skip to content

Commit

Permalink
Merge pull request #597 from cocrafts/dev
Browse files Browse the repository at this point in the history
[wallet] [landing] chore: remove recaptcha argon link, fix landing build with , resolve tezos balance on mainnet
  • Loading branch information
tanlethanh authored Jul 15, 2024
2 parents e042679 + 534bbb3 commit 42d48c6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import type { FC } from 'react';
import { Button, Image } from '@walless/ui';
import Anchor from 'components/Anchor';
import Link from 'next/link';
import { resources } from 'utils/config';

export const HomeButton: FC = () => {
return (
<Anchor href="/">
<Button transparent horizontal alignItems="center">
<Link href="/">
<Button transparent alignItems="center">
<Image
src={resources.walless.icon}
defaultSource={resources.walless.icon}
Expand All @@ -23,7 +23,7 @@ export const HomeButton: FC = () => {
resizeMode="contain"
/>
</Button>
</Anchor>
</Link>
);
};

Expand Down
1 change: 0 additions & 1 deletion apps/landing/components/layouts/Home/Navigation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
modalActions,
View,
} from '@walless/gui';
import { View } from '@walless/gui';
import { Button } from '@walless/ui';
import { ContainerStack } from 'components/styled';
import { useRouter } from 'next/router';
Expand Down
4 changes: 4 additions & 0 deletions apps/wallet/browser/bundler/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ const replaceExtensionArgonLinks = (config) => {
search: 'https://www.googletagmanager.com/gtag/js',
replace: '',
},
{
search: 'https://www.google.com/recaptcha/enterprise.js',
replace: '',
},
],
},
]),
Expand Down
2 changes: 1 addition & 1 deletion apps/wallet/src/engine/runners/tezos/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { TezosToolkit } from '@taquito/taquito';
import { Networks } from '@walless/core';
import type { EngineConfig } from 'engine/types';

const MAIN_NET = 'https://api.tez.ie/rpc/mainnet';
const MAIN_NET = 'https://mainnet.ecadinfra.com';
const GHOST_NET = 'https://ghostnet.ecadinfra.com';

const TZKT_API_MAINNET = 'https://api.tzkt.io/v1';
Expand Down

0 comments on commit 42d48c6

Please sign in to comment.