mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-17 16:50:53 +00:00
removed dup var declaration
This commit is contained in:
parent
00f6e7c1cd
commit
7f0c426206
1 changed files with 3 additions and 7 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue