mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 13:05:32 +09:00
fix(app): don't suppress toast when copying user id in popout (#38)
This commit is contained in:
1 parent
cbe914cf6f
commit
8294821a96
1 file changed
+2
-2
@@ -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(() => {
|
||||
|
||||
Reference in new issue
Block a user