mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-06-10 10:16:58 +00:00
Format code (prettier)
This commit is contained in:
parent
b0274b4cb7
commit
b6f8b190c0
@ -216,7 +216,9 @@ export const DownloadWallet = ({
|
||||
</Box>
|
||||
}
|
||||
/>
|
||||
|
||||
<Spacer height="20px" />
|
||||
|
||||
{!keepCurrentPassword && (
|
||||
<>
|
||||
<CustomLabel htmlFor="standard-adornment-password">
|
||||
@ -226,11 +228,13 @@ export const DownloadWallet = ({
|
||||
</CustomLabel>
|
||||
|
||||
<Spacer height="5px" />
|
||||
|
||||
<PasswordField
|
||||
id="standard-adornment-password"
|
||||
value={newPassword}
|
||||
onChange={(e) => setNewPassword(e.target.value)}
|
||||
/>
|
||||
|
||||
<Spacer height="20px" />
|
||||
</>
|
||||
)}
|
||||
|
@ -351,7 +351,7 @@ export const GroupAnnouncements = ({
|
||||
}
|
||||
};
|
||||
|
||||
const getAnnouncements = React.useCallback(
|
||||
const getAnnouncements = useCallback(
|
||||
async (selectedGroup, isPrivate) => {
|
||||
try {
|
||||
const offset = 0;
|
||||
@ -387,7 +387,7 @@ export const GroupAnnouncements = ({
|
||||
[secretKey]
|
||||
);
|
||||
|
||||
React.useEffect(() => {
|
||||
useEffect(() => {
|
||||
if (!secretKey && isPrivate) return;
|
||||
if (
|
||||
selectedGroup &&
|
||||
@ -432,7 +432,7 @@ export const GroupAnnouncements = ({
|
||||
|
||||
const theme = useTheme();
|
||||
|
||||
const checkNewMessages = React.useCallback(async () => {
|
||||
const checkNewMessages = useCallback(async () => {
|
||||
try {
|
||||
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`;
|
||||
|
@ -37,7 +37,8 @@ export const QortPayment = ({ balance, show, onSuccess, defaultPaymentTo }) => {
|
||||
setSendPaymentError('Please enter your wallet password');
|
||||
return;
|
||||
}
|
||||
const fee = await getFee('PAYMENT');
|
||||
|
||||
const fee = await getFee('PAYMENT'); // TODO translate
|
||||
|
||||
await show({
|
||||
message: `Would you like to transfer ${Number(paymentAmount)} QORT?`,
|
||||
@ -148,7 +149,7 @@ export const QortPayment = ({ balance, show, onSuccess, defaultPaymentTo }) => {
|
||||
<Spacer height="6px" />
|
||||
|
||||
<CustomLabel htmlFor="standard-adornment-password">
|
||||
Confirm Wallet Password
|
||||
Confirm wallet password
|
||||
</CustomLabel>
|
||||
|
||||
<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',
|
||||
fontSize: '15px',
|
||||
fontWeight: 400,
|
||||
lineHeight: '12px',
|
||||
lineHeight: '24px',
|
||||
}));
|
||||
|
Loading…
x
Reference in New Issue
Block a user