diff --git a/src/components/left/main/Archive.tsx b/src/components/left/main/Archive.tsx index e24eaa488..0748e1871 100644 --- a/src/components/left/main/Archive.tsx +++ b/src/components/left/main/Archive.tsx @@ -15,7 +15,7 @@ import useLang from '../../../hooks/useLang'; import { useFolderManagerForOrderedIds, useFolderManagerForUnreadCounters } from '../../../hooks/useFolderManager'; import ListItem from '../../ui/ListItem'; -import AnimatedCounter from '../../common/AnimatedCounter'; +import Badge from '../../ui/Badge'; import styles from './Archive.module.scss'; @@ -107,11 +107,10 @@ const Archive: FC = ({ {lang('ArchivedChats')} - {Boolean(archiveUnreadCount) && ( -
- -
- )} + ); @@ -135,11 +134,10 @@ const Archive: FC = ({
{previewItems}
- {Boolean(archiveUnreadCount) && ( -
- -
- )} +