Fix new message

This commit is contained in:
J Francisco Rader committed 2021-02-06 20:55:11 -05:00
1 parent 4e8dbf5667
commit 332b132352
2 files changed
+14 -4

No files matched your search

@@ -8,7 +8,6 @@ import MessageSearch from './MessageSearch';
import MessageGroupItem from './MessageGroupItem';
import useStyles from './list.styles';
import { useHistory } from 'react-router-dom';
import NewMessageGroupButton from '../buttons/NewMessageGroupButton';
const MessagesList = (): any => {
const classes = useStyles();
@@ -61,7 +60,6 @@ const MessagesList = (): any => {
/>
))}
</List>
<NewMessageGroupButton onClick={() => history.push('/messages/new')} />
</>
);
};