remove logs

This commit is contained in:
PhilReact 2024-12-30 08:15:01 +02:00
parent f6cac4b91f
commit 428994d123
7 changed files with 1 additions and 13 deletions

View File

@ -106,7 +106,6 @@ export const encryptAndPublishSymmetricKeyGroupChatForAdmins = async ({groupId,
previousData: Object,
}) => {
try {
console.log({groupId, previousData, admins})
let highestKey = 0
if(previousData){
highestKey = Math.max(...Object.keys((previousData || {})).filter(item=> !isNaN(+item)).map(Number));
@ -129,10 +128,7 @@ export const encryptAndPublishSymmetricKeyGroupChatForAdmins = async ({groupId,
}
const symmetricKeyAndNonceBase64 = await objectToBase64(objectToSave)
console.log({ data64: symmetricKeyAndNonceBase64,
publicKeys: groupmemberPublicKeys,
privateKey,
userPublicKey})
const encryptedData = encryptDataGroup({
data64: symmetricKeyAndNonceBase64,
publicKeys: groupmemberPublicKeys,

View File

@ -102,7 +102,6 @@ export const AppsHomeDesktop = ({
}}
onKeyDown={(e) => {
if (e.key === 'Enter' && qortalUrl) {
console.log('hello')
openQortalUrl();
}
}}

View File

@ -127,7 +127,6 @@ export const AdminSpaceInner = ({
previousData: adminGroupSecretKey,
admins: adminsWithNames,
} }, (response) => {
console.log('response', response)
if (!response?.error) {
setInfoSnackCustom({
type: "success",

View File

@ -758,7 +758,6 @@ useEffect(() => {
}
}, [isPrivate])
console.log('isPrivate', isPrivate)
return (
<div style={{

View File

@ -38,7 +38,6 @@ export const ChatList = ({
const hasLoadedInitialRef = useRef(false);
const scrollingIntervalRef = useRef(null);
const lastSeenUnreadMessageTimestamp = useRef(null);
console.log('messages', messages)
// Initialize the virtualizer
const rowVirtualizer = useVirtualizer({
count: messages.length,

View File

@ -520,7 +520,6 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
},
},
(response) => {
console.log('response', response)
if (response.error) {
rej(response?.message);
return;
@ -536,7 +535,6 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
const responseData = uint8ArrayToObject(
decryptToUnit8ArraySubject
);
console.log('responseData', responseData)
if(Array.isArray(responseData)){
saveToLocalStorage("ext_saved_settings_import_export", "sortablePinnedApps", responseData, {
isUsingImportExport: true
@ -555,7 +553,6 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
</ButtonBase>
<ButtonBase onClick={async () => {
try {
console.log('pinnedApps', pinnedApps)
const data64 = await objectToBase64(pinnedApps);
const encryptedData = await new Promise((res, rej) => {

View File

@ -57,7 +57,6 @@ useEffect(()=> {
}, [])
const showTutorial = useCallback(async (type, isForce) => {
try {
console.log('type, isForce', type, isForce)
const isOnline = await checkIfGatewayIsOnline()
if(!isOnline) return