mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-04-23 19:37:52 +00:00
remove logs
This commit is contained in:
parent
893eafbdeb
commit
a79eef6154
@ -69,7 +69,6 @@ export const MessageQueueProvider = ({ children }) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
updatedChats[groupDirectId] = updatedChats[groupDirectId].filter((chat) => {
|
updatedChats[groupDirectId] = updatedChats[groupDirectId].filter((chat) => {
|
||||||
console.log('chatstasu', chat)
|
|
||||||
return chat?.status !== 'failed-permanent'
|
return chat?.status !== 'failed-permanent'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -2899,7 +2899,6 @@ function setupMessageListener() {
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
console.error("Unknown action:", request.action);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -268,7 +268,6 @@ export const AppsDesktop = ({ mode, setMode, show , myName, goToHome, setDesktop
|
|||||||
} else {
|
} else {
|
||||||
setSelectedTab(copyTabs[0]);
|
setSelectedTab(copyTabs[0]);
|
||||||
}
|
}
|
||||||
console.log('copyTabs', copyTabs)
|
|
||||||
setTabs(copyTabs);
|
setTabs(copyTabs);
|
||||||
setSelectedTab(copyTabs[0]);
|
setSelectedTab(copyTabs[0]);
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
@ -137,7 +137,6 @@ export const AppsNavBarDesktop = () => {
|
|||||||
item?.name === selectedTab?.name && item?.service === selectedTab?.service
|
item?.name === selectedTab?.name && item?.service === selectedTab?.service
|
||||||
);
|
);
|
||||||
|
|
||||||
console.log('tabs', tabs)
|
|
||||||
return (
|
return (
|
||||||
<AppsNavBarParent
|
<AppsNavBarParent
|
||||||
sx={{
|
sx={{
|
||||||
|
@ -77,7 +77,6 @@ export const saveFileInChunks = async (
|
|||||||
isFirstChunk = false;
|
isFirstChunk = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('File saved successfully in chunks:', fullFileName);
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Error saving file in chunks:', error);
|
console.error('Error saving file in chunks:', error);
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,6 @@ import './styles.css';
|
|||||||
import { executeEvent } from '../../utils/events';
|
import { executeEvent } from '../../utils/events';
|
||||||
|
|
||||||
const extractComponents = (url) => {
|
const extractComponents = (url) => {
|
||||||
console.log('url', url);
|
|
||||||
if (!url.startsWith("qortal://")) {
|
if (!url.startsWith("qortal://")) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@ -1611,7 +1611,6 @@ export const Group = ({
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log('desktopViewMode', desktopViewMode)
|
|
||||||
|
|
||||||
const renderDirects = () => {
|
const renderDirects = () => {
|
||||||
return (
|
return (
|
||||||
|
@ -9,7 +9,6 @@ export const WebSocketActive = ({ myAddress, setIsLoadingGroups }) => {
|
|||||||
const initiateRef = useRef(null)
|
const initiateRef = useRef(null)
|
||||||
const forceCloseWebSocket = () => {
|
const forceCloseWebSocket = () => {
|
||||||
if (socketRef.current) {
|
if (socketRef.current) {
|
||||||
console.log('Force closing the WebSocket');
|
|
||||||
clearTimeout(timeoutIdRef.current);
|
clearTimeout(timeoutIdRef.current);
|
||||||
clearTimeout(groupSocketTimeoutRef.current);
|
clearTimeout(groupSocketTimeoutRef.current);
|
||||||
socketRef.current.close(1000, 'forced');
|
socketRef.current.close(1000, 'forced');
|
||||||
|
@ -101,7 +101,6 @@ export const Save = ({ isDesktop, disableWidth }) => {
|
|||||||
console.error("Failed qortalRequest", error);
|
console.error("Failed qortalRequest", error);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
console.log('encryptData', encryptData)
|
|
||||||
if (encryptData && !encryptData?.error) {
|
if (encryptData && !encryptData?.error) {
|
||||||
const fee = await getFee("ARBITRARY");
|
const fee = await getFee("ARBITRARY");
|
||||||
|
|
||||||
@ -139,7 +138,6 @@ export const Save = ({ isDesktop, disableWidth }) => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log('errorsave', error)
|
|
||||||
setInfoSnack({
|
setInfoSnack({
|
||||||
type: "error",
|
type: "error",
|
||||||
message: error?.message || "Unable to save to QDN",
|
message: error?.message || "Unable to save to QDN",
|
||||||
|
@ -654,9 +654,7 @@ export const isRunningGateway = async ()=> {
|
|||||||
}
|
}
|
||||||
case "IS_USING_GATEWAY": {
|
case "IS_USING_GATEWAY": {
|
||||||
try {
|
try {
|
||||||
console.log('isusing going')
|
|
||||||
let isGateway = await isRunningGateway()
|
let isGateway = await isRunningGateway()
|
||||||
console.log('isGateway', isGateway)
|
|
||||||
event.source.postMessage({
|
event.source.postMessage({
|
||||||
requestId: request.requestId,
|
requestId: request.requestId,
|
||||||
action: request.action,
|
action: request.action,
|
||||||
@ -664,7 +662,6 @@ export const isRunningGateway = async ()=> {
|
|||||||
type: "backgroundMessageResponse",
|
type: "backgroundMessageResponse",
|
||||||
}, event.origin);
|
}, event.origin);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log('isusing going', error)
|
|
||||||
event.source.postMessage({
|
event.source.postMessage({
|
||||||
requestId: request.requestId,
|
requestId: request.requestId,
|
||||||
action: request.action,
|
action: request.action,
|
||||||
|
@ -6,7 +6,6 @@ import Base58 from '../deps/Base58'
|
|||||||
import utils from '../utils/utils'
|
import utils from '../utils/utils'
|
||||||
|
|
||||||
const signTradeBotTransaction = async (unsignedTxn, keyPair) => {
|
const signTradeBotTransaction = async (unsignedTxn, keyPair) => {
|
||||||
console.log('keypair', unsignedTxn, keyPair)
|
|
||||||
if (!unsignedTxn) {
|
if (!unsignedTxn) {
|
||||||
throw new Error('Unsigned Transaction Bytes not defined')
|
throw new Error('Unsigned Transaction Bytes not defined')
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user