mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
more formatting
This commit is contained in:
1 parent
046447b0fb
commit
f552c1212c
157 files changed
+635
-1579
No files matched your search
@@ -24,17 +24,15 @@ const MessagesList = (): any => {
|
||||
const goToConversation = useCallback(
|
||||
(messageGroup) =>
|
||||
history.push(
|
||||
`/messages/conversations/${messageGroup.groupId}/?${qs.stringify(
|
||||
messageGroup
|
||||
)}`
|
||||
`/messages/conversations/${messageGroup.groupId}/?${qs.stringify(messageGroup)}`,
|
||||
),
|
||||
[history]
|
||||
[history],
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
if (createMessageGroupResult?.groupId) {
|
||||
const findGroup = messageGroups.find(
|
||||
(g) => g.groupId === createMessageGroupResult.groupId
|
||||
(g) => g.groupId === createMessageGroupResult.groupId,
|
||||
);
|
||||
clearMessageGroupResult();
|
||||
if (findGroup) {
|
||||
@@ -53,9 +51,7 @@ const MessagesList = (): any => {
|
||||
const handleClick = (messageGroup: MessageGroup) => () => {
|
||||
Nui.send('phone:fetchMessages', { groupId: messageGroup.groupId });
|
||||
history.push(
|
||||
`/messages/conversations/${messageGroup.groupId}/?${qs.stringify(
|
||||
messageGroup
|
||||
)}`
|
||||
`/messages/conversations/${messageGroup.groupId}/?${qs.stringify(messageGroup)}`,
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user