1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-15 09:14:11 +02:00

Fix lint errors

This commit is contained in:
Chen-I Lim 2021-03-10 15:14:18 -08:00
parent 283e4d8290
commit 87a914b197
3 changed files with 3 additions and 3 deletions

View File

@ -58,7 +58,7 @@ class CardDetail extends React.Component<Props, State> {
} }
render() { render() {
const {boardTree, cardTree, intl} = this.props const {boardTree, cardTree} = this.props
const {board} = boardTree const {board} = boardTree
if (!cardTree) { if (!cardTree) {
return null return null

View File

@ -4,7 +4,6 @@
import {IntlShape} from 'react-intl' import {IntlShape} from 'react-intl'
import {BlockTypes} from '../../blocks/block' import {BlockTypes} from '../../blocks/block'
import {Card} from '../../blocks/card'
import {IContentBlock, MutableContentBlock} from '../../blocks/contentBlock' import {IContentBlock, MutableContentBlock} from '../../blocks/contentBlock'
import {Utils} from '../../utils' import {Utils} from '../../utils'
@ -44,3 +43,4 @@ const contentRegistry = new ContentRegistry()
export type {ContentHandler} export type {ContentHandler}
export {contentRegistry} export {contentRegistry}

View File

@ -3,7 +3,7 @@
import React from 'react' import React from 'react'
import {injectIntl, IntlShape} from 'react-intl' import {injectIntl, IntlShape} from 'react-intl'
import {IContentBlock, MutableContentBlock} from '../../blocks/contentBlock' import {IContentBlock} from '../../blocks/contentBlock'
import {MutableTextBlock} from '../../blocks/textBlock' import {MutableTextBlock} from '../../blocks/textBlock'
import mutator from '../../mutator' import mutator from '../../mutator'
import TextIcon from '../../widgets/icons/text' import TextIcon from '../../widgets/icons/text'