Fix bug where a channel created could use streams from another channel. The form wasn't being fully cleared.

This commit is contained in:
SergeantPanda 2025-09-13 17:02:40 -05:00
parent 0d659f4435
commit 81520293f4

View file

@ -242,6 +242,7 @@ const ChannelForm = ({ channel = null, isOpen, onClose }) => {
formik.resetForm();
setTvgFilter('');
setLogoFilter('');
setChannelStreams([]); // Ensure streams are cleared when adding a new channel
}
}, [channel, tvgsById, channelGroups]);