From 882225f65b83afba7a4b8c58f092d5dbc51389e5 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 17 Sep 2019 14:49:34 +0800 Subject: [PATCH] :white_check_mark: fix eslint --- components/upload/Dragger.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/upload/Dragger.tsx b/components/upload/Dragger.tsx index 6e9f4da1a4..4366879fd7 100644 --- a/components/upload/Dragger.tsx +++ b/components/upload/Dragger.tsx @@ -6,6 +6,7 @@ export type DraggerProps = UploadProps & { height?: number }; // stick class comoponent to avoid React ref warning inside Form // https://github.com/ant-design/ant-design/issues/18707 +// eslint-disable-next-line react/prefer-stateless-function export default class Dragger extends React.Component { render() { const { props } = this;