fix(app): don't suppress toast when copying user id in popout (#38)

This commit is contained in:
hampus-fluxer 2026-01-06 01:35:40 +01:00 committed by GitHub
parent cbe914cf6f
commit 8294821a96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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(() => {