diff --git a/frontend/src/components/tables/ChannelsTable.jsx b/frontend/src/components/tables/ChannelsTable.jsx index 949e9173..df95f00b 100644 --- a/frontend/src/components/tables/ChannelsTable.jsx +++ b/frontend/src/components/tables/ChannelsTable.jsx @@ -184,7 +184,7 @@ const m3uUrlBase = `${window.location.protocol}//${window.location.host}/output/ const epgUrlBase = `${window.location.protocol}//${window.location.host}/output/epg`; const hdhrUrlBase = `${window.location.protocol}//${window.location.host}/hdhr`; -const CreateProfilePopover = ({ }) => { +const CreateProfilePopover = ({}) => { const [opened, setOpened] = useState(false); const [name, setName] = useState(''); const theme = useMantineTheme(); @@ -241,7 +241,7 @@ const CreateProfilePopover = ({ }) => { ); }; -const ChannelsTable = ({ }) => { +const ChannelsTable = ({}) => { const { channels, isLoading: channelsLoading, @@ -313,10 +313,6 @@ const ChannelsTable = ({ }) => { const m3uUrlRef = useRef(null); const epgUrlRef = useRef(null); - const { - environment: { env_mode }, - } = useSettingsStore(); - const toggleChannelEnabled = async (channelIds, enabled) => { if (channelIds.length == 1) { await API.updateProfileChannel(channelIds[0], selectedProfileId, enabled); @@ -537,7 +533,7 @@ const ChannelsTable = ({ }) => { const [isLoading, setIsLoading] = useState(true); const [sorting, setSorting] = useState([ { id: 'channel_number', desc: false }, - { id: 'name', desc: false } + { id: 'name', desc: false }, ]); const editChannel = async (ch = null) => {