-
+
@@ -14,7 +12,7 @@
- Qort.Trade
+ Q-Trade
diff --git a/src/components/DbComponents/OngoingTransactions.tsx b/src/components/DbComponents/OngoingTransactions.tsx
index 566393a..4430e64 100644
--- a/src/components/DbComponents/OngoingTransactions.tsx
+++ b/src/components/DbComponents/OngoingTransactions.tsx
@@ -5,7 +5,7 @@ import { useIndexedDBContext } from "../../contexts/indexedDBContext";
const fetchTradeInfo = async (qortalAtAddress) => {
- const checkIfOfferingRes = await fetch(`http://127.0.0.1:12391/crosschain/trade/${qortalAtAddress}`)
+ const checkIfOfferingRes = await fetch(`/crosschain/trade/${qortalAtAddress}`)
const data = await checkIfOfferingRes.json()
return data
};
diff --git a/src/components/Grids/TradeOffers.tsx b/src/components/Grids/TradeOffers.tsx
index 03c4e52..bd9797f 100644
--- a/src/components/Grids/TradeOffers.tsx
+++ b/src/components/Grids/TradeOffers.tsx
@@ -362,7 +362,11 @@ export const TradeOffers: React.FC = ({ltcBalance}:any) => {
// Update transactions in IndexedDB
const result = await updateTransactionInDB(transactionData);
-
+ setOpen(true)
+ setInfo({
+ type: 'success',
+ message: "Submitted Order"
+ })
fetchOngoingTransactions()
if(isUsingGateway){
setRecord(transactionData)
@@ -370,11 +374,7 @@ export const TradeOffers: React.FC = ({ltcBalance}:any) => {
message: `Keep a record of your order in case your trade gets stuck`,
})
}
- setOpen(true)
- setInfo({
- type: 'success',
- message: "Submitted Order"
- })
+
}
} catch (error) {
@@ -554,11 +554,24 @@ const handleClose = (
>
{"Download record"}
-
+
{messageInfo.message}
-
diff --git a/src/components/Terms.tsx b/src/components/Terms.tsx
index d1e31a4..ddba254 100644
--- a/src/components/Terms.tsx
+++ b/src/components/Terms.tsx
@@ -55,10 +55,10 @@ export const Terms =() => {
- The purpose of qort.trade is to make trading LTC for QORT as easy as possible. The maintainers of this site do not profit from its use—there are no additional fees for buying QORT through this site. There are two ways to place a buy order:
+ The purpose of q-trade is to make trading LTC for QORT as easy as possible. The maintainers of this site do not profit from its use—there are no additional fees for buying QORT through this site. There are two ways to place a buy order:
1. Use the gateway
2. Use your local node.
- By using qort.trade, you agree to the following terms and conditions.
+ By using q-trade, you agree to the following terms and conditions.
@@ -66,11 +66,11 @@ export const Terms =() => {
- If you are uncomfortable using the gateway, we offer the option to use your local node to buy QORT. When logging into the extension, choose the local node configuration, and use the switch button on qort.trade to connect with your local node.
+ If you are uncomfortable using the gateway, we offer the option to use your local node to buy QORT. When logging into the UI, choose the local node configuration.
- The maintainers of this site are not responsible for any lost LTC, QORT, or other cryptocurrencies that may result from using this site. This is a hobby project, and mistakes in the code may occur. Please proceed with caution.
+ The maintainers and devs of this site are not responsible for any lost LTC, QORT, or other cryptocurrencies that may result from using this site. This is a hobby project, and mistakes in the code may occur. Please proceed with caution.
diff --git a/src/components/common/icons/qtradeLogo.png b/src/components/common/icons/qtradeLogo.png
new file mode 100644
index 0000000..2735d38
Binary files /dev/null and b/src/components/common/icons/qtradeLogo.png differ
diff --git a/src/components/header/Header.tsx b/src/components/header/Header.tsx
index 6ac5ad7..c74b2e5 100644
--- a/src/components/header/Header.tsx
+++ b/src/components/header/Header.tsx
@@ -20,7 +20,7 @@ import gameContext from "../../contexts/gameContext";
import { UserContext } from "../../contexts/userContext";
import { cropAddress } from "../../utils/cropAddress";
import { BubbleCardColored1 } from "../../pages/Home/Home-Styles";
-import logoSVG from "../../assets/SVG/LOGO.svg";
+import qtradeLogo from '../../components/common/icons/qtradeLogo.png'
import {
Alert,
Avatar,
@@ -167,9 +167,9 @@ export const Header = ({ qortBalance, ltcBalance, mode, setMode }: any) => {
>
@@ -190,7 +190,9 @@ export const Header = ({ qortBalance, ltcBalance, mode, setMode }: any) => {
-
+
Balance: {qortBalance} QORT |{" "}
{ltcBalance === null ? "N/A" : ltcBalance} LTC