mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-06-11 02:36:59 +00:00
Format code (prettier)
This commit is contained in:
parent
b0274b4cb7
commit
b6f8b190c0
@ -216,7 +216,9 @@ export const DownloadWallet = ({
|
|||||||
</Box>
|
</Box>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Spacer height="20px" />
|
<Spacer height="20px" />
|
||||||
|
|
||||||
{!keepCurrentPassword && (
|
{!keepCurrentPassword && (
|
||||||
<>
|
<>
|
||||||
<CustomLabel htmlFor="standard-adornment-password">
|
<CustomLabel htmlFor="standard-adornment-password">
|
||||||
@ -226,11 +228,13 @@ export const DownloadWallet = ({
|
|||||||
</CustomLabel>
|
</CustomLabel>
|
||||||
|
|
||||||
<Spacer height="5px" />
|
<Spacer height="5px" />
|
||||||
|
|
||||||
<PasswordField
|
<PasswordField
|
||||||
id="standard-adornment-password"
|
id="standard-adornment-password"
|
||||||
value={newPassword}
|
value={newPassword}
|
||||||
onChange={(e) => setNewPassword(e.target.value)}
|
onChange={(e) => setNewPassword(e.target.value)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Spacer height="20px" />
|
<Spacer height="20px" />
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
@ -351,7 +351,7 @@ export const GroupAnnouncements = ({
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const getAnnouncements = React.useCallback(
|
const getAnnouncements = useCallback(
|
||||||
async (selectedGroup, isPrivate) => {
|
async (selectedGroup, isPrivate) => {
|
||||||
try {
|
try {
|
||||||
const offset = 0;
|
const offset = 0;
|
||||||
@ -387,7 +387,7 @@ export const GroupAnnouncements = ({
|
|||||||
[secretKey]
|
[secretKey]
|
||||||
);
|
);
|
||||||
|
|
||||||
React.useEffect(() => {
|
useEffect(() => {
|
||||||
if (!secretKey && isPrivate) return;
|
if (!secretKey && isPrivate) return;
|
||||||
if (
|
if (
|
||||||
selectedGroup &&
|
selectedGroup &&
|
||||||
@ -432,7 +432,7 @@ export const GroupAnnouncements = ({
|
|||||||
|
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
|
|
||||||
const checkNewMessages = React.useCallback(async () => {
|
const checkNewMessages = useCallback(async () => {
|
||||||
try {
|
try {
|
||||||
const identifier = `grp-${selectedGroup}-anc-`;
|
const identifier = `grp-${selectedGroup}-anc-`;
|
||||||
const url = `${getBaseApiReact()}${getArbitraryEndpointReact()}?mode=ALL&service=DOCUMENT&identifier=${identifier}&limit=20&includemetadata=false&offset=${0}&reverse=true&prefix=true`;
|
const url = `${getBaseApiReact()}${getArbitraryEndpointReact()}?mode=ALL&service=DOCUMENT&identifier=${identifier}&limit=20&includemetadata=false&offset=${0}&reverse=true&prefix=true`;
|
||||||
|
@ -37,7 +37,8 @@ export const QortPayment = ({ balance, show, onSuccess, defaultPaymentTo }) => {
|
|||||||
setSendPaymentError('Please enter your wallet password');
|
setSendPaymentError('Please enter your wallet password');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const fee = await getFee('PAYMENT');
|
|
||||||
|
const fee = await getFee('PAYMENT'); // TODO translate
|
||||||
|
|
||||||
await show({
|
await show({
|
||||||
message: `Would you like to transfer ${Number(paymentAmount)} QORT?`,
|
message: `Would you like to transfer ${Number(paymentAmount)} QORT?`,
|
||||||
@ -148,7 +149,7 @@ export const QortPayment = ({ balance, show, onSuccess, defaultPaymentTo }) => {
|
|||||||
<Spacer height="6px" />
|
<Spacer height="6px" />
|
||||||
|
|
||||||
<CustomLabel htmlFor="standard-adornment-password">
|
<CustomLabel htmlFor="standard-adornment-password">
|
||||||
Confirm Wallet Password
|
Confirm wallet password
|
||||||
</CustomLabel>
|
</CustomLabel>
|
||||||
|
|
||||||
<Spacer height="5px" />
|
<Spacer height="5px" />
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -228,5 +228,5 @@ export const CustomLabel = styled(InputLabel)(({ theme }) => ({
|
|||||||
fontFamily: 'Inter',
|
fontFamily: 'Inter',
|
||||||
fontSize: '15px',
|
fontSize: '15px',
|
||||||
fontWeight: 400,
|
fontWeight: 400,
|
||||||
lineHeight: '12px',
|
lineHeight: '24px',
|
||||||
}));
|
}));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user