diff --git a/src/assets/logos.tsx b/src/assets/logos.tsx index f48d9d5..1fe9d29 100644 --- a/src/assets/logos.tsx +++ b/src/assets/logos.tsx @@ -46,26 +46,26 @@ export const HanaLogo = ({ fill = '#221542' }: { fill?: string }) => ( ); -export const HotLogo = ({ fill = '#221542' }: { fill?: string }) => ( +export const HotLogo = () => ( + - diff --git a/src/components/Input/index.tsx b/src/components/Input/index.tsx index 73517aa..f15597a 100644 --- a/src/components/Input/index.tsx +++ b/src/components/Input/index.tsx @@ -119,6 +119,7 @@ const InputField = ({ {iconLeft &&
{iconLeft}
} { const isEmpty = !loading && transactionsDetails.length === 0; return ( -
+
{loading ? (
Loading activity... @@ -119,15 +119,16 @@ const Activity: React.FC = () => { )} {transactionsDetails.length > 0 && explorerUrl && ( - +
+ +
)}
); diff --git a/src/containers/Pages/SignTransaction/index.tsx b/src/containers/Pages/SignTransaction/index.tsx index d281eeb..64698c9 100644 --- a/src/containers/Pages/SignTransaction/index.tsx +++ b/src/containers/Pages/SignTransaction/index.tsx @@ -59,9 +59,17 @@ const SignTransaction = () => { action={txDetails.action} /> + {isLobstr && ( +

+ Ensure that your LOBSTR wallet is set to the {networkTitle} network. + Otherwise, the transaction will definitely fail. +

+ )} +
{
- {isLobstr && ( - /* TODO: fox styling */

- Ensure that your LOBSTR wallet is set to the {networkTitle} network. - Otherwise, the transaction will definitely fail. -

- )} - -
-
-
- - +
+ +
); }; diff --git a/src/context/provider.tsx b/src/context/provider.tsx index 2840821..f219124 100644 --- a/src/context/provider.tsx +++ b/src/context/provider.tsx @@ -148,8 +148,6 @@ export const BluxProvider = ({ const sortAvailableWallets = getSortedCheckedWallets(available); - console.log(sortAvailableWallets); - setValue((prev) => ({ ...prev, isReady: true, diff --git a/src/wallets/configs/hotConfig.ts b/src/wallets/configs/hotConfig.ts index 36fd51e..be9edb1 100644 --- a/src/wallets/configs/hotConfig.ts +++ b/src/wallets/configs/hotConfig.ts @@ -11,7 +11,6 @@ export const hotConfig: WalletInterface = { website: 'https://hot-labs.org/', isAvailable: () => { - console.log('checking hot wallet is available'); return typeof window !== 'undefined' && !!window.hotExtension; }, @@ -35,8 +34,6 @@ export const hotConfig: WalletInterface = { accountToSign: options.address, }); - console.log(result); - return result.signedTxXdr; } catch { throw new Error('Failed to sign the transaction with Hana wallet.');