mirror of https://github.com/status-im/chat.git
remove unnecessary code
This commit is contained in:
parent
f126831da5
commit
4257dd7695
|
@ -1,5 +1,5 @@
|
|||
// @flow
|
||||
import React, { Fragment, Component, PureComponent, createRef } from 'react';
|
||||
import React, { Fragment, Component, createRef } from 'react';
|
||||
import { Formik } from 'formik';
|
||||
import autoscroll from 'autoscroll-react';
|
||||
import List from '@material-ui/core/List';
|
||||
|
|
|
@ -1,11 +1,8 @@
|
|||
import React from 'react';
|
||||
import ListItem from '@material-ui/core/ListItem';
|
||||
import ListItemAvatar from '@material-ui/core/ListItemAvatar';
|
||||
import ListItemText from '@material-ui/core/ListItemText';
|
||||
import Avatar from '@material-ui/core/Avatar';
|
||||
import FiberManualRecord from '@material-ui/icons/FiberManualRecord';
|
||||
import FiberManualRecordOutlined from '@material-ui/icons/FiberManualRecordOutlined';
|
||||
import Jazzicon, { jsNumberForAddress } from 'react-jazzicon'
|
||||
import Tooltip from '@material-ui/core/Tooltip';
|
||||
import blueGrey from '@material-ui/core/colors/blueGrey';
|
||||
import green from '@material-ui/core/colors/green';
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
// so stuff like sortUsers, heartBeat & forceUpdate, etc.. will be removed
|
||||
import React, { PureComponent } from 'react';
|
||||
import List from '@material-ui/core/List';
|
||||
import ListItem from '@material-ui/core/ListItem';
|
||||
import { ChatContext } from '../context';
|
||||
|
||||
import User from './User';
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import React, { Fragment } from 'react';
|
||||
import ListItem from '@material-ui/core/ListItem';
|
||||
|
||||
function isImage(text) {
|
||||
return text.indexOf("http") >= 0 && (text.indexOf('.jpg') || text.indexOf('.gif'));
|
||||
|
|
Loading…
Reference in New Issue