From ddad2121b09e76c96c717efacb14529b542b5277 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Tue, 7 Jul 2020 16:02:09 -0500 Subject: [PATCH] Removed unused code in FileInput component MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Removed: - unused code in FileInput component --- app/javascript/gabsocial/components/file_input.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/javascript/gabsocial/components/file_input.js b/app/javascript/gabsocial/components/file_input.js index 9385254f..c9b3e8d1 100644 --- a/app/javascript/gabsocial/components/file_input.js +++ b/app/javascript/gabsocial/components/file_input.js @@ -1,10 +1,8 @@ -import classNames from 'classnames/bind' import Image from './image' import Text from './text' -const cx = classNames.bind(_s) - export default class FileInput extends PureComponent { + static propTypes = { onChange: PropTypes.func, file: PropTypes.any, @@ -84,4 +82,5 @@ export default class FileInput extends PureComponent { ) } + } \ No newline at end of file