Sort properties and add spaces in the code

This commit is contained in:
Nicola Benaglia 2025-06-06 07:55:42 +02:00
parent 4c8c90a579
commit f0805e1da5

View File

@ -244,6 +244,7 @@ export const Wallets = ({ setExtState, setRawWallet, rawWallet }) => {
)} )}
</Box> </Box>
)} )}
{wallets?.length > 0 && ( {wallets?.length > 0 && (
<List <List
sx={{ sx={{
@ -442,20 +443,22 @@ export const Wallets = ({ setExtState, setRawWallet, rawWallet }) => {
postProcess: 'capitalizeFirstChar', postProcess: 'capitalizeFirstChar',
})} })}
</Button> </Button>
<LoadingButton <LoadingButton
loading={isLoadingEncryptSeed} autoFocus
disabled={!seedValue || !seedName || !password} disabled={!seedValue || !seedName || !password}
variant="contained" loading={isLoadingEncryptSeed}
onClick={() => { onClick={() => {
if (!seedValue || !seedName || !password) return; if (!seedValue || !seedName || !password) return;
onOk({ seedValue, seedName, password }); onOk({ seedValue, seedName, password });
}} }}
autoFocus variant="contained"
> >
{t('core:action.add', { {t('core:action.add', {
postProcess: 'capitalizeFirstChar', postProcess: 'capitalizeFirstChar',
})} })}
</LoadingButton> </LoadingButton>
<Typography <Typography
sx={{ sx={{
fontSize: '14px', fontSize: '14px',