mirror of
https://github.com/Qortal/chrome-extension.git
synced 2025-02-11 17:55:49 +00:00
remove logs
This commit is contained in:
parent
f6cac4b91f
commit
428994d123
@ -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,
|
||||
|
@ -102,7 +102,6 @@ export const AppsHomeDesktop = ({
|
||||
}}
|
||||
onKeyDown={(e) => {
|
||||
if (e.key === 'Enter' && qortalUrl) {
|
||||
console.log('hello')
|
||||
openQortalUrl();
|
||||
}
|
||||
}}
|
||||
|
@ -127,7 +127,6 @@ export const AdminSpaceInner = ({
|
||||
previousData: adminGroupSecretKey,
|
||||
admins: adminsWithNames,
|
||||
} }, (response) => {
|
||||
console.log('response', response)
|
||||
if (!response?.error) {
|
||||
setInfoSnackCustom({
|
||||
type: "success",
|
||||
|
@ -758,7 +758,6 @@ useEffect(() => {
|
||||
}
|
||||
}, [isPrivate])
|
||||
|
||||
console.log('isPrivate', isPrivate)
|
||||
|
||||
return (
|
||||
<div style={{
|
||||
|
@ -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,
|
||||
|
@ -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) => {
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user