From 155af1f4b767d165c2fb0fd9509beb140facd527 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Thu, 8 Apr 2021 10:42:16 +0200 Subject: [PATCH] Fixing eslint errors --- webapp/src/components/kanban/kanbanColumn.tsx | 1 + webapp/src/components/kanban/kanbanHiddenColumnItem.tsx | 3 +-- webapp/src/components/table/table.tsx | 2 +- webapp/src/components/table/tableHeader.tsx | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/webapp/src/components/kanban/kanbanColumn.tsx b/webapp/src/components/kanban/kanbanColumn.tsx index 448ef097e..ffe4b88bc 100644 --- a/webapp/src/components/kanban/kanbanColumn.tsx +++ b/webapp/src/components/kanban/kanbanColumn.tsx @@ -2,6 +2,7 @@ // See LICENSE.txt for license information. import React from 'react' import {useDrop} from 'react-dnd' + import {Card} from '../../blocks/card' type Props = { diff --git a/webapp/src/components/kanban/kanbanHiddenColumnItem.tsx b/webapp/src/components/kanban/kanbanHiddenColumnItem.tsx index a0f36ce19..b441b1075 100644 --- a/webapp/src/components/kanban/kanbanHiddenColumnItem.tsx +++ b/webapp/src/components/kanban/kanbanHiddenColumnItem.tsx @@ -1,11 +1,10 @@ // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. /* eslint-disable max-lines */ -import React, {useRef, useState} from 'react' +import React from 'react' import {IntlShape} from 'react-intl' import {useDrop} from 'react-dnd' -import {IPropertyOption} from '../../blocks/board' import mutator from '../../mutator' import {BoardTree, BoardTreeGroup} from '../../viewModel/boardTree' import Button from '../../widgets/buttons/button' diff --git a/webapp/src/components/table/table.tsx b/webapp/src/components/table/table.tsx index cd7b3f33c..8e1a49c28 100644 --- a/webapp/src/components/table/table.tsx +++ b/webapp/src/components/table/table.tsx @@ -1,6 +1,6 @@ // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. -import React, {useState} from 'react' +import React from 'react' import {FormattedMessage} from 'react-intl' import {useDrop, useDragLayer} from 'react-dnd' diff --git a/webapp/src/components/table/tableHeader.tsx b/webapp/src/components/table/tableHeader.tsx index 68e2fbc4b..a7ddc3d87 100644 --- a/webapp/src/components/table/tableHeader.tsx +++ b/webapp/src/components/table/tableHeader.tsx @@ -1,7 +1,6 @@ // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. -import React, {useState, useRef} from 'react' -import {useDrop, useDrag} from 'react-dnd' +import React from 'react' import {IPropertyTemplate} from '../../blocks/board' import {Constants} from '../../constants'