diff --git a/src/components/header/Header.tsx b/src/components/header/Header.tsx
index 4d8c57f..db738ca 100644
--- a/src/components/header/Header.tsx
+++ b/src/components/header/Header.tsx
@@ -240,7 +240,7 @@ export const Header = ({ qortBalance, foreignCoinBalance }: any) => {
const sendCoin = async ()=> {
try {
- const coin = getCoinLabel()
+ const coin = openCoinActionModal.coin === "QORT" ? 'QORT' : getCoinLabel()
if(!coin) return
setOpen(true);
setInfo({
@@ -537,31 +537,7 @@ export const Header = ({ qortBalance, foreignCoinBalance }: any) => {
}}
/>
>
- ) : openCoinActionModal.type === "receive" &&
- openCoinActionModal.coin === "QORT" ? (
- <>
- Receive {openCoinActionModal.coin}
-
- >
- ) : openCoinActionModal.type === "receive" &&
- openCoinActionModal.coin !== "QORT" ? (
- <>
- Receive {openCoinActionModal.coin}
-
- >
- ) : null}
+ ) : null}
@@ -570,12 +546,12 @@ export const Header = ({ qortBalance, foreignCoinBalance }: any) => {
style={{ flexGrow: 1 }}
name={
openCoinActionModal.type === "send"
- ? "Recipient Address"
+ ? `${openCoinActionModal.coin === "QORT" ? 'Recipient Address or Name' : 'Recipient Address'}`
: "Receive Address"
}
label={
openCoinActionModal.type === "send"
- ? "Recipient Address"
+ ? `${openCoinActionModal.coin === "QORT" ? 'Recipient Address or Name' : 'Recipient Address'}`
: "Receive Address"
}
variant="filled"
@@ -617,14 +593,14 @@ export const Header = ({ qortBalance, foreignCoinBalance }: any) => {
)}
> : (
<>
-
+
>
)}
{openCoinActionModal.type === 'send' && (
- setOpenCoinActionModal(null)}>
+ {/* setOpenCoinActionModal(null)}>
Cancel
-
+ */}
{
if(openCoinActionModal.type === 'send'){