fix(app): don't suppress toast when copying user id in popout (#38)
This commit is contained in:
parent
cbe914cf6f
commit
8294821a96
@ -315,14 +315,14 @@ export const UserAreaPopout = observer(() => {
|
||||
if (!currentUserId) {
|
||||
return;
|
||||
}
|
||||
TextCopyActionCreators.copy(i18n, currentUserId, true);
|
||||
TextCopyActionCreators.copy(i18n, currentUserId);
|
||||
}, [currentUserId, i18n]);
|
||||
|
||||
const handleCopyUserTag = React.useCallback(() => {
|
||||
if (!currentUser) {
|
||||
return;
|
||||
}
|
||||
TextCopyActionCreators.copy(i18n, currentUser.tag, true);
|
||||
TextCopyActionCreators.copy(i18n, currentUser.tag);
|
||||
}, [currentUser, i18n]);
|
||||
|
||||
const openManageAccounts = React.useCallback(() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user