ConversationDetails: openMenu -> onClick

This commit is contained in:
Scott Nonnenberg 2024-07-30 16:47:09 -07:00
parent d57d0cea19
commit 544ebd6180

View file

@ -539,12 +539,12 @@ export function ConversationDetails({
}, },
]} ]}
> >
{({ openMenu }) => { {({ onClick }) => {
return ( return (
<button <button
type="button" type="button"
className="ConversationDetails--nickname-actions" className="ConversationDetails--nickname-actions"
onClick={openMenu} onClick={onClick}
> >
<span className="ConversationDetails--nickname-actions-label"> <span className="ConversationDetails--nickname-actions-label">
{i18n('icu:ConversationDetails--nickname-actions')} {i18n('icu:ConversationDetails--nickname-actions')}