From 46323e088af78e9cf4113b099d9f730ac19b0378 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 28 Aug 2020 13:28:11 -0500 Subject: [PATCH] Chats: rename ChatListAccount to just Chat --- .../chats/components/{chat_list_account.js => chat.js} | 2 +- app/soapbox/features/chats/components/chat_list.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename app/soapbox/features/chats/components/{chat_list_account.js => chat.js} (94%) diff --git a/app/soapbox/features/chats/components/chat_list_account.js b/app/soapbox/features/chats/components/chat.js similarity index 94% rename from app/soapbox/features/chats/components/chat_list_account.js rename to app/soapbox/features/chats/components/chat.js index 531587784..d3a60f14d 100644 --- a/app/soapbox/features/chats/components/chat_list_account.js +++ b/app/soapbox/features/chats/components/chat.js @@ -6,7 +6,7 @@ import DisplayName from '../../../components/display_name'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { shortNumberFormat } from 'soapbox/utils/numbers'; -export default class ChatListAccount extends ImmutablePureComponent { +export default class Chat extends ImmutablePureComponent { static propTypes = { chat: ImmutablePropTypes.map.isRequired, diff --git a/app/soapbox/features/chats/components/chat_list.js b/app/soapbox/features/chats/components/chat_list.js index a1fbbcc57..41aae6397 100644 --- a/app/soapbox/features/chats/components/chat_list.js +++ b/app/soapbox/features/chats/components/chat_list.js @@ -4,7 +4,7 @@ import PropTypes from 'prop-types'; import { injectIntl } from 'react-intl'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { fetchChats } from 'soapbox/actions/chats'; -import ChatListAccount from './chat_list_account'; +import Chat from './chat'; import { makeGetChat } from 'soapbox/selectors'; const chatDateComparator = (chatA, chatB) => { @@ -57,7 +57,7 @@ class ChatList extends ImmutablePureComponent { } {chats.map(chat => (
-