mirror of
https://github.com/Qortal/chrome-extension.git
synced 2025-02-14 11:15:49 +00:00
remove logs
This commit is contained in:
parent
e1d7147431
commit
9dd8719bc8
@ -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
|
||||||
|
@ -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();
|
||||||
}, []);
|
}, []);
|
||||||
|
@ -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) {
|
||||||
|
@ -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={{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user