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 forceUpdate(); // Trigger re-render by updating the state
}; };
const publicKeyOfRecipientRef = useRef(null) const publicKeyOfRecipientRef = useRef(null)
console.log({messages})
const getPublicKeyFunc = async (address)=> { const getPublicKeyFunc = async (address)=> {
try { try {
const publicKey = await getPublicKey(address) 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)=> { const sendChatDirect = async ({ chatReference = undefined, messageText, otherData}: any, address, publicKeyOfRecipient, isNewChatVar)=> {
try { try {
console.log('chatReferencedirect', chatReference)
const directTo = isNewChatVar ? directToValue : address const directTo = isNewChatVar ? directToValue : address
if(!directTo) return if(!directTo) return

View File

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

View File

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

View File

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