Unverified Commit 822e96af authored by Andrey Azov's avatar Andrey Azov Committed by GitHub
Browse files

Show the conversation icon in production (#556)

to be able to access Contact Us form
parent 8c8271e0
Pipeline #186310 passed with stages
in 9 minutes and 22 seconds
......@@ -21,17 +21,11 @@ import { toggleCommunicationPanel } from 'src/shared/state/communication/communi
import { ReactComponent as ConversationImageIcon } from 'static/img/shared/icon_conversation.svg';
import CommunicationPanel from 'ensemblRoot/src/shared/components/communication-framework/CommunicationPanel';
import { Environment, isEnvironment } from 'src/shared/helpers/environment';
import styles from './ConversationIcon.scss';
const ConversationIcon = () => {
const dispatch = useDispatch();
if (isEnvironment([Environment.PRODUCTION])) {
return null;
}
const onClick = () => {
dispatch(toggleCommunicationPanel());
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment