Rudimentary ChatList display

loading-indicator-on-tls^2
Alex Gleason 2020-08-24 21:32:39 -05:00
rodzic f1cff927c0
commit e35e8f613f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -4,6 +4,7 @@ import PropTypes from 'prop-types';
import { injectIntl, FormattedMessage } from 'react-intl';
import ImmutablePureComponent from 'react-immutable-pure-component';
import { fetchChats } from 'soapbox/actions/chats';
import Account from 'soapbox/components/account';
const mapStateToProps = state => ({
chats: state.get('chats'),
@ -33,7 +34,7 @@ class ChatList extends ImmutablePureComponent {
<div className='chat-list__content'>
{chats.toList().map(chat => (
<div className='chat-list-item'>
{chat.getIn(['account', 'acct'])}
<Account account={chat.get('account')} />
</div>
))}
</div>

Wyświetl plik

@ -3,6 +3,7 @@
bottom: 0;
right: 20px;
width: 265px;
z-index: 99999;
&__header {
background: var(--brand-color);