import type { FC } from '../../lib/teact/teact'; import React, { memo } from '../../lib/teact/teact'; import useLang from '../../hooks/useLang'; import useHistoryBack from '../../hooks/useHistoryBack'; import Button from '../ui/Button'; import ChatList from './main/ChatList'; import type { LeftColumnContent } from '../../types'; import './ArchivedChats.scss'; export type OwnProps = { isActive: boolean; onReset: () => void; onContentChange: (content: LeftColumnContent) => void; }; const ArchivedChats: FC = ({ isActive, onReset }) => { const lang = useLang(); useHistoryBack({ isActive, onBack: onReset, }); return (

{lang('ArchivedChats')}

); }; export default memo(ArchivedChats);