mirror of
https://github.com/Qortal/Q-Wallets.git
synced 2025-11-13 08:27:03 +00:00
@@ -244,7 +244,7 @@ export default function PirateWallet() {
|
|||||||
if (!isAuthenticated) {
|
if (!isAuthenticated) {
|
||||||
return (
|
return (
|
||||||
<Alert variant="filled" severity="error">
|
<Alert variant="filled" severity="error">
|
||||||
You must sign in, to use the Pirate Chain wallet !!!
|
You must sign in, to use the Pirate Chain wallet.
|
||||||
</Alert>
|
</Alert>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -334,13 +334,13 @@ export default function PirateWallet() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const changeCopyArrrStatus = async () => {
|
const changeCopyArrrStatus = async () => {
|
||||||
setCopyArrrAddress('Copied !!!');
|
setCopyArrrAddress('Copied');
|
||||||
await timeoutDelay(2000);
|
await timeoutDelay(2000);
|
||||||
setCopyArrrAddress('');
|
setCopyArrrAddress('');
|
||||||
}
|
}
|
||||||
|
|
||||||
const changeCopyArrrTxHash = async () => {
|
const changeCopyArrrTxHash = async () => {
|
||||||
setCopyArrrTxHash('Copied !!!');
|
setCopyArrrTxHash('Copied');
|
||||||
await timeoutDelay(2000);
|
await timeoutDelay(2000);
|
||||||
setCopyArrrTxHash('');
|
setCopyArrrTxHash('');
|
||||||
}
|
}
|
||||||
@@ -513,7 +513,7 @@ export default function PirateWallet() {
|
|||||||
if (!response?.error) {
|
if (!response?.error) {
|
||||||
if (response.indexOf('<') > -1 || response !== "Synchronized" || response === "Not initialized yet") {
|
if (response.indexOf('<') > -1 || response !== "Synchronized" || response === "Not initialized yet") {
|
||||||
if (response.indexOf('<') > -1) {
|
if (response.indexOf('<') > -1) {
|
||||||
setSyncStatus('No Cennection To Pirate Chain Lightwallet Server!');
|
setSyncStatus('No Connection To Pirate Chain Lightwallet Server.');
|
||||||
setChangeServer(false);
|
setChangeServer(false);
|
||||||
setIsSynced(false);
|
setIsSynced(false);
|
||||||
counter = 37;
|
counter = 37;
|
||||||
@@ -551,7 +551,7 @@ export default function PirateWallet() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
setIsSynced(false);
|
setIsSynced(false);
|
||||||
setSyncStatus('No Cennection To Pirate Chain Lightwallet Server!');
|
setSyncStatus('No Connection To Pirate Chain Lightwallet Server.');
|
||||||
setChangeServer(true);
|
setChangeServer(true);
|
||||||
return;
|
return;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
@@ -1061,7 +1061,7 @@ export default function PirateWallet() {
|
|||||||
variant="filled"
|
variant="filled"
|
||||||
sx={{ width: '100%' }}
|
sx={{ width: '100%' }}
|
||||||
>
|
>
|
||||||
Sent ARRR transaction was successful!
|
Sent ARRR transaction was successful.
|
||||||
</Alert>
|
</Alert>
|
||||||
</Snackbar>
|
</Snackbar>
|
||||||
<Snackbar open={openSendArrrError} autoHideDuration={4000} onClose={handleCloseSendArrrError}>
|
<Snackbar open={openSendArrrError} autoHideDuration={4000} onClose={handleCloseSendArrrError}>
|
||||||
@@ -1071,7 +1071,7 @@ export default function PirateWallet() {
|
|||||||
variant="filled"
|
variant="filled"
|
||||||
sx={{ width: '100%' }}
|
sx={{ width: '100%' }}
|
||||||
>
|
>
|
||||||
Something went wrong, please try again!
|
Something went wrong, please try again.
|
||||||
</Alert>
|
</Alert>
|
||||||
</Snackbar>
|
</Snackbar>
|
||||||
<AppBar sx={{ position: 'static' }}>
|
<AppBar sx={{ position: 'static' }}>
|
||||||
@@ -1198,7 +1198,7 @@ export default function PirateWallet() {
|
|||||||
id="arrr-address"
|
id="arrr-address"
|
||||||
margin="normal"
|
margin="normal"
|
||||||
value={arrrRecipient}
|
value={arrrRecipient}
|
||||||
helperText="ARRR address 78 characters long (starts with zs) !"
|
helperText="ARRR address should be 78 characters long (starts with zs)"
|
||||||
slotProps={{ htmlInput: { maxLength: 78, minLength: 78 } }}
|
slotProps={{ htmlInput: { maxLength: 78, minLength: 78 } }}
|
||||||
onChange={(e) => setArrrRecipient(e.target.value)}
|
onChange={(e) => setArrrRecipient(e.target.value)}
|
||||||
/>
|
/>
|
||||||
@@ -1207,7 +1207,7 @@ export default function PirateWallet() {
|
|||||||
id="arrr-memo"
|
id="arrr-memo"
|
||||||
margin="normal"
|
margin="normal"
|
||||||
value={arrrMemo}
|
value={arrrMemo}
|
||||||
helperText="ARRR memo maximal 40 characters long !"
|
helperText="ARRR memo maximal 40 characters long."
|
||||||
slotProps={{ htmlInput: { maxLength: 40, minLength: 40 } }}
|
slotProps={{ htmlInput: { maxLength: 40, minLength: 40 } }}
|
||||||
onChange={(e) => setArrrMemo(e.target.value)}
|
onChange={(e) => setArrrMemo(e.target.value)}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user