Show hide/show chat instead of toggle in user menu. Closes #2454

This commit is contained in:
Gabe Kangas 2022-12-15 19:23:43 -08:00
parent 8eaed0fce6
commit a2445e1fcf
No known key found for this signature in database
GPG Key ID: 4345B2060657F330

View File

@ -74,7 +74,7 @@ export const UserDropdown: FC<UserDropdownProps> = ({ username: defaultUsername
</Menu.Item>
{appState.chatAvailable && (
<Menu.Item key="3" icon={<MessageOutlined />} onClick={() => toggleChatVisibility()}>
Toggle chat
{chatToggleVisible ? 'Hide Chat' : 'Show Chat'}
</Menu.Item>
)}
</Menu>