add group chat

This commit is contained in:
Виталий Лавшонок
2025-11-23 10:30:31 +03:00
parent abb7301c16
commit 390f1f52c8
28 changed files with 414 additions and 217 deletions

View File

@@ -36,13 +36,17 @@ const Filters = () => {
text: 'ID',
},
]}
onChange={(v) => {}}
onChange={(v) => {
v;
}}
/>
<FilterDropDown
items={items}
defaultState={[]}
onChange={(values) => {}}
onChange={(values) => {
values;
}}
/>
</div>
);

View File

@@ -44,7 +44,6 @@ const GroupItem: React.FC<GroupItemProps> = ({
id,
name,
visible,
role,
description,
setUpdateGroup,
setUpdateActive,

View File

@@ -4,7 +4,6 @@ import { fetchGroupJoinLink } from '../../../redux/slices/groups';
import { Modal } from '../../../components/modal/Modal';
import { PrimaryButton } from '../../../components/button/PrimaryButton';
import { SecondaryButton } from '../../../components/button/SecondaryButton';
import { Input } from '../../../components/input/Input';
import { toastSuccess } from '../../../lib/toastNotification';
interface ModalInviteProps {
@@ -54,9 +53,7 @@ const ModalInvite: FC<ModalInviteProps> = ({
await navigator.clipboard.writeText(inviteLink);
toastSuccess('Приглашение скопировано в буфер обмена!');
setActive(false);
} catch (err) {
console.error('Не удалось скопировать ссылку:', err);
}
} catch (err) {}
};
return (