remove logs

This commit is contained in:
PhilReact 2024-09-21 21:30:54 +03:00
parent e1d7147431
commit 9dd8719bc8
4 changed files with 0 additions and 5 deletions

View File

@ -52,7 +52,6 @@ export const ChatDirect = ({ myAddress, isNewChat, selectedDirect, setSelectedDi
forceUpdate(); // Trigger re-render by updating the state
};
const publicKeyOfRecipientRef = useRef(null)
console.log({messages})
const getPublicKeyFunc = async (address)=> {
try {
const publicKey = await getPublicKey(address)
@ -225,7 +224,6 @@ export const ChatDirect = ({ myAddress, isNewChat, selectedDirect, setSelectedDi
const sendChatDirect = async ({ chatReference = undefined, messageText, otherData}: any, address, publicKeyOfRecipient, isNewChatVar)=> {
try {
console.log('chatReferencedirect', chatReference)
const directTo = isNewChatVar ? directToValue : address
if(!directTo) return

View File

@ -18,7 +18,6 @@ export const ChatList = ({ initialMessages, myAddress, tempMessages, chatId, onR
fixedWidth: true,
defaultHeight: 50,
}), [chatId]); // Recreate cache when chatId changes
console.log('messages2', messages)
useEffect(() => {
cache.clearAll();
}, []);

View File

@ -813,7 +813,6 @@ export const Group = ({
getGroupOwner(selectedGroup?.groupId);
}, [selectedGroup])
console.log('groupOwner', groupOwner)
useEffect(() => {
if (selectedGroup && groupOwner && groupOwner?.isOpen === false) {

View File

@ -92,7 +92,6 @@ export const GroupJoinRequests = ({ myAddress, groups, setOpenManageMembers, get
}
}, [myAddress, groups]);
console.log('groupsWithJoinRequests', groupsWithJoinRequests)
return (
<Box sx={{