removed console.log
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user