mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-12-17 17:44:02 -05:00
chore: Add description to Cargo.toml for GUI
This commit is contained in:
parent
8cb1e8aff0
commit
630f4c6f23
5 changed files with 109 additions and 17 deletions
|
|
@ -1,10 +1,16 @@
|
|||
import { Button, CircularProgress, IconButton } from '@material-ui/core';
|
||||
import RefreshIcon from '@material-ui/icons/Refresh';
|
||||
import IpcInvokeButton from '../../IpcInvokeButton';
|
||||
import { checkBitcoinBalance } from 'renderer/rpc';
|
||||
import { Button, CircularProgress, IconButton } from "@material-ui/core";
|
||||
import RefreshIcon from "@material-ui/icons/Refresh";
|
||||
import IpcInvokeButton from "../../IpcInvokeButton";
|
||||
import { checkBitcoinBalance } from "renderer/rpc";
|
||||
import PromiseInvokeButton from "renderer/components/PromiseInvokeButton";
|
||||
|
||||
export default function WalletRefreshButton() {
|
||||
return <IconButton onClick={() => checkBitcoinBalance(true)}>
|
||||
<RefreshIcon />
|
||||
</IconButton>
|
||||
return (
|
||||
<PromiseInvokeButton
|
||||
endIcon={<RefreshIcon />}
|
||||
isIconButton
|
||||
onClick={() => checkBitcoinBalance()}
|
||||
size="small"
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue