diff --git a/app/javascript/chat/ChatChannelSettings/ModFaqSection.jsx b/app/javascript/chat/ChatChannelSettings/ModFaqSection.jsx
index 5922d8aa5..d2795d22f 100644
--- a/app/javascript/chat/ChatChannelSettings/ModFaqSection.jsx
+++ b/app/javascript/chat/ChatChannelSettings/ModFaqSection.jsx
@@ -1,7 +1,7 @@
import { h } from 'preact';
import PropTypes from 'prop-types';
-const ModFaqSection = ({ email, currentMembershipRole }) => {
+const ModFaqSection = ({ currentMembershipRole }) => {
if (currentMembershipRole === 'member') {
return null;
}
@@ -24,7 +24,6 @@ const ModFaqSection = ({ email, currentMembershipRole }) => {
};
ModFaqSection.propTypes = {
- email: PropTypes.string.isRequired,
currentMembershipRole: PropTypes.string.isRequired,
};
diff --git a/app/javascript/chat/__tests__/modFaqSection.test.jsx b/app/javascript/chat/__tests__/modFaqSection.test.jsx
index 40eff7e1d..376156af1 100644
--- a/app/javascript/chat/__tests__/modFaqSection.test.jsx
+++ b/app/javascript/chat/__tests__/modFaqSection.test.jsx
@@ -5,18 +5,17 @@ import ModFaqSection from '../ChatChannelSettings/ModFaqSection';
describe('', () => {
it('should have no a11y violations', async () => {
- const { container } = render();
+ const { container } = render();
const results = await axe(container);
expect(results).toHaveNoViolations();
});
it('should render', () => {
- const { queryByText } = render();
+ const { queryByText } = render();
expect(
queryByText(/^Questions about Connect Channel moderation\? Contact/),
).toBeDefined();
- expect(queryByText('jane@doe.com')).toBeDefined();
});
});