mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-05-22 09:36:58 +00:00
Merge pull request #55 from nbenaglia/fix/missing-bracket-dependency
Fix missing bracket and dependency
This commit is contained in:
commit
748a469598
@ -1,6 +1,7 @@
|
|||||||
import {
|
import {
|
||||||
FC,
|
FC,
|
||||||
KeyboardEvent,
|
KeyboardEvent,
|
||||||
|
useCallback,
|
||||||
useContext,
|
useContext,
|
||||||
useEffect,
|
useEffect,
|
||||||
useMemo,
|
useMemo,
|
||||||
|
@ -98,7 +98,9 @@ export const WrapperUserAction = ({ children, address, name, disabled }) => {
|
|||||||
justifyContent: 'flex-start',
|
justifyContent: 'flex-start',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{t('core:message.message', { postProcess: 'capitalizeFirstChar' })}
|
{t('core:message.message', {
|
||||||
|
postProcess: 'capitalizeFirstChar',
|
||||||
|
})}
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
{/* Option 2: Send QORT */}
|
{/* Option 2: Send QORT */}
|
||||||
@ -209,7 +211,8 @@ const BlockUser = ({ address, name, handleClose }) => {
|
|||||||
)}
|
)}
|
||||||
{isAlreadyBlocked &&
|
{isAlreadyBlocked &&
|
||||||
t('auth:action.unblock_name', { postProcess: 'capitalizeFirstChar' })}
|
t('auth:action.unblock_name', { postProcess: 'capitalizeFirstChar' })}
|
||||||
{isAlreadyBlocked === false && t('auth:action.block_name', { postProcess: 'capitalizeFirstChar' })}}
|
{isAlreadyBlocked === false &&
|
||||||
|
t('auth:action.block_name', { postProcess: 'capitalizeFirstChar' })}
|
||||||
</Button>
|
</Button>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user