From fc86dcd9672314bfa7d2559b53de1df89d47286c Mon Sep 17 00:00:00 2001 From: HF Date: Sat, 13 Aug 2022 19:59:00 +0200 Subject: [PATCH] fix random text color --- src/components/windows/Chat.jsx | 48 ++++++++++++++++----------------- src/core/utils.js | 7 +++-- src/store/actions/index.js | 20 +++++++------- src/store/reducers/windows.js | 9 ++++--- src/styles/default.css | 2 +- 5 files changed, 44 insertions(+), 42 deletions(-) diff --git a/src/components/windows/Chat.jsx b/src/components/windows/Chat.jsx index 1a9a2de..f0dfb29 100644 --- a/src/components/windows/Chat.jsx +++ b/src/components/windows/Chat.jsx @@ -123,30 +123,6 @@ const Chat = ({ ref={targetRef} className="chat-container" > -
- { - const { - clientX, - clientY, - } = event; - dispatch(showContextMenu( - 'CHANNEL', - clientX, - clientY, - { cid: chatChannel }, - )); - }} - role="button" - title={t`Channel settings`} - tabIndex={-1} - >⚙ -