diff options
author | Sebastian <sebasjm@gmail.com> | 2022-08-17 16:12:21 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-08-17 16:12:44 -0300 |
commit | 16777ba20564d8b002e33a01afa3ea49ca715cce (patch) | |
tree | 47f976276e4e7e049828ba9a38734d964fab52bc /packages/taler-wallet-webextension/src/popup/NoBalanceHelp.tsx | |
parent | 17e627c2f024f6a4fe2b40b370ab1c010488ccc3 (diff) | |
download | wallet-core-16777ba20564d8b002e33a01afa3ea49ca715cce.tar.xz |
some fixes
Diffstat (limited to 'packages/taler-wallet-webextension/src/popup/NoBalanceHelp.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/popup/NoBalanceHelp.tsx | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/packages/taler-wallet-webextension/src/popup/NoBalanceHelp.tsx b/packages/taler-wallet-webextension/src/popup/NoBalanceHelp.tsx index 08479c73c..161296b97 100644 --- a/packages/taler-wallet-webextension/src/popup/NoBalanceHelp.tsx +++ b/packages/taler-wallet-webextension/src/popup/NoBalanceHelp.tsx @@ -21,22 +21,21 @@ import { ButtonHandler } from "../mui/handlers.js"; import { Paper } from "../mui/Paper.js"; import { Typography } from "../mui/Typography.js"; +const margin = css` + margin: 1em; +`; + export function NoBalanceHelp({ goToWalletManualWithdraw, }: { goToWalletManualWithdraw: ButtonHandler; }): VNode { return ( - <Paper - class={css` - margin: 1em; - `} - > - <Alert title="You have no balance." severity="warning"> - <Typography>Withdraw some funds into your wallet.</Typography> + <Paper class={margin}> + <Alert title="Your wallet is empty." severity="info"> <Button fullWidth - color="warning" + color="info" variant="outlined" onClick={goToWalletManualWithdraw.onClick} > |