|
|
@ -72,8 +72,11 @@ type PropsHousekeeping = {
|
|
|
|
type Props = PropsData & PropsHousekeeping;
|
|
|
|
type Props = PropsData & PropsHousekeeping;
|
|
|
|
|
|
|
|
|
|
|
|
const Portal = ({ children }: { children: any }) => {
|
|
|
|
const Portal = ({ children }: { children: any }) => {
|
|
|
|
return createPortal(children, document.querySelector('.inbox.index') as Element);
|
|
|
|
return createPortal(
|
|
|
|
}
|
|
|
|
children,
|
|
|
|
|
|
|
|
document.querySelector('.inbox.index') as Element
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
class ConversationListItem extends React.PureComponent<Props> {
|
|
|
|
class ConversationListItem extends React.PureComponent<Props> {
|
|
|
|
public constructor(props: Props) {
|
|
|
|
public constructor(props: Props) {
|
|
|
|