Commit 9fbdc5bd authored by Robert Knight's avatar Robert Knight

Remove obsolete prop-types lint suppressions

Prop-types checks are now globally disabled because we're using JSDoc +
TS instead.
parent b30a9d96
......@@ -16,7 +16,6 @@ import {
*
* This is used to test PDF-specific highlighting behavior.
*/
// eslint-disable-next-line react/prop-types
function PdfPage({ showPlaceholder = false }) {
return (
<div className="page">
......
......@@ -132,7 +132,6 @@ describe('shared/shortcut', () => {
});
describe('useShortcut', () => {
// eslint-disable-next-line react/prop-types
function Button({ shortcut = null, onClick }) {
useShortcut(shortcut, onClick);
return <button onClick={onClick}>Shortcut test</button>;
......
......@@ -208,9 +208,7 @@ describe('ThreadList', () => {
fakeTopThread.children.push({ id });
}
// eslint-disable-next-line react/prop-types
const FakeThreadCard = ({ thread }) => {
// eslint-disable-next-line react/prop-types
const height = threadHeights[thread.id];
return <div className="fake-ThreadCard" style={{ height }} />;
};
......
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