From 50fc52f871bff31aa55a2b8cd7abe5de0d17501c Mon Sep 17 00:00:00 2001 From: Chen-I Lim Date: Tue, 30 Mar 2021 10:11:48 -0700 Subject: [PATCH] Fix lint issues --- webapp/src/hooks/cardListener.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/webapp/src/hooks/cardListener.tsx b/webapp/src/hooks/cardListener.tsx index 86772bd1c..3b298ce00 100644 --- a/webapp/src/hooks/cardListener.tsx +++ b/webapp/src/hooks/cardListener.tsx @@ -1,12 +1,11 @@ // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. -import React, {useEffect} from 'react' +import {useEffect} from 'react' +import {IBlock} from '../blocks/block' import octoClient from '../octoClient' import {OctoListener} from '../octoListener' -import {MutableCardTree} from '../viewModel/cardTree' import {Utils} from '../utils' -import {IBlock} from '../blocks/block' export default function useCardListener(cardId:string, onChange: (blocks: IBlock[]) => void, onReconnect: () => void): void { let cardListener: OctoListener | null = null