fix: removed console logs in code (#592)

This commit is contained in:
Dan Ditomaso
2025-05-02 11:48:18 -04:00
committed by GitHub
parent b40540b118
commit 79910dfec7
2 changed files with 0 additions and 8 deletions
-4
View File
@@ -57,14 +57,10 @@ export const subscribeAll = (
});
connection.events.onUserPacket.subscribe((user) => {
console.log("User Packet", user);
device.addUser(user);
});
connection.events.onPositionPacket.subscribe((position) => {
console.log("Position Packet", position);
device.addPosition(position);
});
-4
View File
@@ -41,8 +41,6 @@ export const MessagesPage = () => {
.sort((a, b) => b.unreadCount - a.unreadCount);
}
console.log('filtered nodes', filteredNodes());
const allChannels = Array.from(channels.values());
const filteredChannels = allChannels.filter(
(ch) => ch.role !== Protobuf.Channel.Channel_Role.DISABLED,
@@ -65,8 +63,6 @@ export const MessagesPage = () => {
try {
messageId = await connection?.sendText(message, toValue, true, channelValue);
console.log("Message sent, ID:", messageId);
if (messageId !== undefined) {
if (chatType === MessageType.Broadcast) {
setMessageState({ type: chatType, channelId: channelValue, messageId, newState: MessageState.Ack });