diff --git a/webapp/channels/src/reducers/views/modals.test.tsx b/webapp/channels/src/reducers/views/modals.test.tsx index 42282215f8..bb92c65397 100644 --- a/webapp/channels/src/reducers/views/modals.test.tsx +++ b/webapp/channels/src/reducers/views/modals.test.tsx @@ -8,19 +8,17 @@ import {modalState as modalStateReducer} from 'reducers/views/modals'; import {ActionTypes, ModalIdentifiers} from 'utils/constants'; -class TestModal extends React.PureComponent { - render() { - return ( - - - - - ); - } -} +const TestModal = () => { + return ( + + + + + ); +}; describe('Reducers.Modals', () => { test('Initial state', () => {