Skip to content

Commit

Permalink
remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
LeosPrograms committed May 7, 2024
1 parent e0432d3 commit add7d28
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
4 changes: 2 additions & 2 deletions ui/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@
fn_name: 'get_dna_hash',
payload: null,
});
console.log("dna")
console.log(dna)
// console.log("dna")
// console.log(dna)
} catch (e) {
console.log("no dna")
Expand Down
3 changes: 1 addition & 2 deletions ui/src/we.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ export const appletServices: AppletServices = {
let coordination: Coordination;
let record: any;

console.log("hihi")
try {
record = await appletClient.callZome({
cap_secret: null,
Expand All @@ -61,7 +60,7 @@ export const appletServices: AppletServices = {
payload: wal.hrl[1],
});
if (record) {
console.log("record", record)
// console.log("record", record)
coordination = decode((record.entry as any).Present.entry) as Coordination;
}
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion ui/src/whosin/coordinator/CoordinationDetail.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
}
async function commitMe(coordRoleHash, coordroleTimestamp) {
console.log(coordRoleHash)
// console.log(coordRoleHash)
// let coordRoleHash = coordRole;
committingInProcess[JSON.stringify(coordRoleHash)] = true;
Expand Down
4 changes: 2 additions & 2 deletions ui/src/whosin/coordinator/Notifications.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@
"seen": seen,
}
console.log("----------------------------------", new_notification, local_notifications)
// console.log("----------------------------------", new_notification, local_notifications)
// if new_notification not in coordination_details yet, add
let alread_in = false;
local_notifications.forEach(notification => {
if (notification.timestamp == new_notification.timestamp) {
alread_in = true;
}
})
console.log("alread_in", alread_in)
// console.log("alread_in", alread_in)
if (!alread_in) {
add_notification(new_notification)
Expand Down
14 changes: 7 additions & 7 deletions ui/src/whosin/notifications/NotificationsHandler.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
$: editing, error, loading, record, twilioCredentials;
onMount(async () => {
// onMount(async () => {
// receive a dispatch signal from the backend
client.on(
'signal',
(signal) => {
console.log(signal)
// client.on(
// 'signal',
// (signal) => {
// console.log(signal)
// wait a few seconds before executing
// setTimeout(() => {
// try {
Expand Down Expand Up @@ -66,8 +66,8 @@
// console.log(e.data.data)
// }
// }, 1000);
});
});
// });
// });
async function fetchTwilioCredentials() {
try {
Expand Down

0 comments on commit add7d28

Please sign in to comment.