TelegramPWA/src/components/left/ArchivedChats.async.tsx
2025-12-22 22:53:57 +01:00

16 lines
432 B
TypeScript

import type { OwnProps } from './ArchivedChats';
import { Bundles } from '../../util/moduleLoader';
import useModuleLoader from '../../hooks/useModuleLoader';
import Loading from '../ui/Loading';
const ArchivedChatsAsync = (props: OwnProps) => {
const ArchivedChats = useModuleLoader(Bundles.Extra, 'ArchivedChats');
return ArchivedChats ? <ArchivedChats {...props} /> : <Loading />;
};
export default ArchivedChatsAsync;