removed console.log

This commit is contained in:
PxlLoewe
2025-07-19 16:05:01 -07:00
parent 68e26b18b2
commit 9eaf3a06ed
18 changed files with 37 additions and 80 deletions

View File

@@ -171,12 +171,6 @@ export const useAudioStore = create<TalkState>((set, get) => ({
deviceId: get().settings.micDeviceId ?? undefined,
},
});
console.log(
"Connected to room",
roomName,
get().settings.micDeviceId,
get().settings.micVolume,
);
// Funk-Effekt anwenden
const radioStream = getRadioStream(inputStream, get().settings.micVolume);
if (!radioStream) throw new Error("Konnte Funkstream nicht erzeugen");

View File

@@ -116,14 +116,12 @@ dispatchSocket.on(
"chat-message",
({ userId, message }: { userId: string; message: ChatMessage }) => {
const store = useLeftMenuStore.getState();
console.log("chat-message", userId, message);
// Update the chat store with the new message
store.addMessage(userId, message);
},
);
pilotSocket.on("chat-message", ({ userId, message }: { userId: string; message: ChatMessage }) => {
const store = useLeftMenuStore.getState();
console.log("chat-message", userId, message);
// Update the chat store with the new message
store.addMessage(userId, message);
});