add group chat
This commit is contained in:
@@ -36,13 +36,17 @@ const Filters = () => {
|
||||
text: 'ID',
|
||||
},
|
||||
]}
|
||||
onChange={(v) => {}}
|
||||
onChange={(v) => {
|
||||
v;
|
||||
}}
|
||||
/>
|
||||
|
||||
<FilterDropDown
|
||||
items={items}
|
||||
defaultState={[]}
|
||||
onChange={(values) => {}}
|
||||
onChange={(values) => {
|
||||
values;
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -44,7 +44,6 @@ const GroupItem: React.FC<GroupItemProps> = ({
|
||||
id,
|
||||
name,
|
||||
visible,
|
||||
role,
|
||||
description,
|
||||
setUpdateGroup,
|
||||
setUpdateActive,
|
||||
|
||||
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user