diff --git a/webapp/channels/src/actions/views/modals.test.jsx b/webapp/channels/src/actions/views/modals.test.jsx
index 82207d3f3c..a9a2fa4767 100644
--- a/webapp/channels/src/actions/views/modals.test.jsx
+++ b/webapp/channels/src/actions/views/modals.test.jsx
@@ -9,18 +9,14 @@ import {openModal, closeModal} from 'actions/views/modals';
import mockStore from 'tests/test_store';
import {ActionTypes, ModalIdentifiers} from 'utils/constants';
-class TestModal extends React.PureComponent {
- render() {
- return (
-
-
-
-
- );
- }
-}
+const TestModal = () => (
+
+
+
+
+);
describe('modals view actions', () => {
let store;