mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-05-11 19:25:02 -04:00
refactor(gui): Reorganize imports
This commit is contained in:
parent
ef7c1abcaf
commit
956a26d181
22 changed files with 51 additions and 51 deletions
|
@ -1,6 +1,6 @@
|
|||
import { Typography } from "@material-ui/core";
|
||||
import DepositAddressInfoBox from "../../modal/swap/DepositAddressInfoBox";
|
||||
import MoneroIcon from "../../icons/MoneroIcon";
|
||||
import DepositAddressInfoBox from "../../modal/swap/DepositAddressInfoBox";
|
||||
|
||||
const XMR_DONATE_ADDRESS =
|
||||
"87jS4C7ngk9EHdqFFuxGFgg8AyH63dRUoULshWDybFJaP75UA89qsutG5B1L1QTc4w228nsqsv8EjhL7bz8fB3611Mh98mg";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { Button, Typography } from "@material-ui/core";
|
||||
import { useState } from "react";
|
||||
import InfoBox from "../../modal/swap/InfoBox";
|
||||
import FeedbackDialog from "../../modal/feedback/FeedbackDialog";
|
||||
import InfoBox from "../../modal/swap/InfoBox";
|
||||
|
||||
export default function FeedbackInfoBox() {
|
||||
const [showDialog, setShowDialog] = useState(false);
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import { Box, makeStyles } from "@material-ui/core";
|
||||
import ContactInfoBox from "./ContactInfoBox";
|
||||
import FeedbackInfoBox from "./FeedbackInfoBox";
|
||||
import DonateInfoBox from "./DonateInfoBox";
|
||||
import TorInfoBox from "./TorInfoBox";
|
||||
import FeedbackInfoBox from "./FeedbackInfoBox";
|
||||
import RpcControlBox from "./RpcControlBox";
|
||||
import TorInfoBox from "./TorInfoBox";
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
outer: {
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
import { Box, makeStyles } from "@material-ui/core";
|
||||
import FolderOpenIcon from "@material-ui/icons/FolderOpen";
|
||||
import PlayArrowIcon from "@material-ui/icons/PlayArrow";
|
||||
import StopIcon from "@material-ui/icons/Stop";
|
||||
import { RpcProcessStateType } from "models/rpcModel";
|
||||
import IpcInvokeButton from "renderer/components/IpcInvokeButton";
|
||||
import { useAppSelector } from "store/hooks";
|
||||
import StopIcon from "@material-ui/icons/Stop";
|
||||
import PlayArrowIcon from "@material-ui/icons/PlayArrow";
|
||||
import { RpcProcessStateType } from "models/rpcModel";
|
||||
import InfoBox from "../../modal/swap/InfoBox";
|
||||
import CliLogsBox from "../../other/RenderedCliLog";
|
||||
import FolderOpenIcon from "@material-ui/icons/FolderOpen";
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
actionsOuter: {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import { Box, makeStyles, Typography } from "@material-ui/core";
|
||||
import PlayArrowIcon from "@material-ui/icons/PlayArrow";
|
||||
import StopIcon from "@material-ui/icons/Stop";
|
||||
import IpcInvokeButton from "renderer/components/IpcInvokeButton";
|
||||
import { useAppSelector } from "store/hooks";
|
||||
import StopIcon from "@material-ui/icons/Stop";
|
||||
import PlayArrowIcon from "@material-ui/icons/PlayArrow";
|
||||
import InfoBox from "../../modal/swap/InfoBox";
|
||||
import CliLogsBox from "../../other/RenderedCliLog";
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import { Typography } from "@material-ui/core";
|
||||
import { useIsSwapRunning } from "store/hooks";
|
||||
import HistoryTable from "./table/HistoryTable";
|
||||
import SwapDialog from "../../modal/swap/SwapDialog";
|
||||
import SwapTxLockAlertsBox from "../../alert/SwapTxLockAlertsBox";
|
||||
import SwapDialog from "../../modal/swap/SwapDialog";
|
||||
import HistoryTable from "./table/HistoryTable";
|
||||
|
||||
export default function HistoryPage() {
|
||||
const showDialog = useIsSwapRunning();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { Box, makeStyles } from "@material-ui/core";
|
||||
import SwapWidget from "./SwapWidget";
|
||||
import ApiAlertsBox from "./ApiAlertsBox";
|
||||
import SwapWidget from "./SwapWidget";
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
outer: {
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
import { Box, Button, makeStyles, Typography } from "@material-ui/core";
|
||||
import { useState } from "react";
|
||||
import SendIcon from "@material-ui/icons/Send";
|
||||
import { useAppSelector, useIsRpcEndpointBusy } from "store/hooks";
|
||||
import { RpcMethod } from "models/rpcModel";
|
||||
import { useState } from "react";
|
||||
import { SatsAmount } from "renderer/components/other/Units";
|
||||
import { useAppSelector, useIsRpcEndpointBusy } from "store/hooks";
|
||||
import BitcoinIcon from "../../icons/BitcoinIcon";
|
||||
import InfoBox from "../../modal/swap/InfoBox";
|
||||
import WithdrawDialog from "../../modal/wallet/WithdrawDialog";
|
||||
import WalletRefreshButton from "./WalletRefreshButton";
|
||||
import InfoBox from "../../modal/swap/InfoBox";
|
||||
import { SatsAmount } from "renderer/components/other/Units";
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
title: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue