mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-09-18 22:30:40 -07:00
Merge branch 'main' into channels
This commit is contained in:
@@ -28,9 +28,7 @@ export const useAudioChannelStore = create<AudioChannelStore>()(
|
||||
})),
|
||||
updateChannel: (id, updates) =>
|
||||
set((state) => ({
|
||||
channels: state.channels.map((ch) =>
|
||||
ch.id === id ? { ...ch, ...updates } : ch,
|
||||
),
|
||||
channels: state.channels.map((ch) => (ch.id === id ? { ...ch, ...updates } : ch)),
|
||||
})),
|
||||
removeChannel: (id) =>
|
||||
set((state) => ({
|
||||
|
||||
Reference in New Issue
Block a user