Removes Inbox Backbone view

This commit is contained in:
Josh Perez 2022-06-16 15:12:50 -04:00 committed by GitHub
parent 603b76c3d9
commit aa23c2def2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
44 changed files with 496 additions and 808 deletions

View file

@ -11,6 +11,7 @@ import { BaseConversationListItem } from './BaseConversationListItem';
import type { ParsedE164Type } from '../../util/libphonenumberInstance';
import type { LookupConversationWithoutUuidActionsType } from '../../util/lookupConversationWithoutUuid';
import type { LocalizerType } from '../../types/Util';
import type { ShowConversationType } from '../../state/ducks/conversations';
import { AvatarColors } from '../../types/Colors';
type PropsData = {
@ -20,7 +21,7 @@ type PropsData = {
type PropsHousekeeping = {
i18n: LocalizerType;
showConversation: (conversationId: string) => void;
showConversation: ShowConversationType;
} & LookupConversationWithoutUuidActionsType;
export type Props = PropsData & PropsHousekeeping;
@ -55,7 +56,7 @@ export const StartNewConversation: FunctionComponent<Props> = React.memo(
});
if (conversationId !== undefined) {
showConversation(conversationId);
showConversation({ conversationId });
}
}, [
showConversation,