Lint
This commit is contained in:
parent
6bd4cd5f9c
commit
a286572861
|
@ -8,7 +8,6 @@ import SimpleMarkdown from 'simple-markdown';
|
||||||
|
|
||||||
import Avatar from '../containers/Avatar';
|
import Avatar from '../containers/Avatar';
|
||||||
import Touch from '../utils/touch/index'; //eslint-disable-line
|
import Touch from '../utils/touch/index'; //eslint-disable-line
|
||||||
import CustomEmoji from '../containers/EmojiPicker/CustomEmoji';
|
|
||||||
import Markdown from '../containers/message/Markdown';
|
import Markdown from '../containers/message/Markdown';
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
|
@ -101,7 +100,7 @@ const customRules = {
|
||||||
parse: capture => ({ content: capture[0] }),
|
parse: capture => ({ content: capture[0] }),
|
||||||
react: node => node.content
|
react: node => node.content
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
const renderNumber = (unread, userMentions) => {
|
const renderNumber = (unread, userMentions) => {
|
||||||
if (!unread || unread <= 0) {
|
if (!unread || unread <= 0) {
|
||||||
|
|
Loading…
Reference in New Issue