diff --git a/components/banners.js b/components/banners.js index 915272e9..a36f5b54 100644 --- a/components/banners.js +++ b/components/banners.js @@ -122,18 +122,17 @@ export function WalletLimitBanner () { ) } -export function WalletSecurityBanner () { +export function WalletSecurityBanner ({ isActive }) { return ( - Wallet Security Disclaimer + Gunslingin' Safety Tips -

- Your wallet's credentials for spending are stored in the browser and never go to the server. - However, you should definitely set a budget in your wallet if you can. +

+ Listen up, pardner! Put a limit on yer spendin' wallet or hook up a wallet that's only for Stacker News. It'll keep them varmints from cleanin' out yer whole goldmine if they rustle up yer wallet.

-

- Also, for the time being, you will have to reenter your credentials on other devices. +

+ Your spending wallet's credentials are never sent to our servers in plain text. To sync across devices, enable device sync in your settings.

) diff --git a/pages/settings/wallets/[wallet].js b/pages/settings/wallets/[wallet].js index f563b13c..39c0d8a7 100644 --- a/pages/settings/wallets/[wallet].js +++ b/pages/settings/wallets/[wallet].js @@ -18,6 +18,7 @@ import { useMe } from '@/components/me' import validateWallet from '@/wallets/validate' import { ValidationError } from 'yup' import { useFormikContext } from 'formik' +import useVault from '@/components/vault/use-vault' export const getServerSideProps = getGetServerSideProps({ authRequired: true }) @@ -68,7 +69,6 @@ export default function WalletSettings () {

{wallet?.def.card.title}

{wallet?.def.card.subtitle}
- {canSend(wallet) && }
+ {wallet && } +} + function ReceiveSettings ({ walletDef }) { const { values } = useFormikContext() return canReceive({ def: walletDef, config: values }) &&