Change TS import baseUrl

This commit is contained in:
jeffvli
2022-07-30 17:44:57 -07:00
parent df5f8c08f3
commit bb4576390d
49 changed files with 106 additions and 128 deletions
@@ -1,6 +1,6 @@
import { useCallback } from 'react';
import { usePlayerStore } from 'renderer/store';
import { PlaybackType, PlayerStatus } from '../../../../types';
import { usePlayerStore } from '../../../store';
import { mpvPlayer } from '../utils/mpvPlayer';
export const useCenterControls = (args: { playersRef: any }) => {
@@ -1,11 +1,11 @@
import { useQueryClient } from 'react-query';
import { usePlayerStore } from 'renderer/store';
import { Item, Play } from '../../../../types';
import { usePlayerStore } from '../../../store';
import {
getJellyfinStreamUrl,
getServerFolderAuth,
getSubsonicStreamUrl,
} from 'renderer/utils';
import { Item, Play } from 'types';
} from '../../../utils';
import { mpvPlayer } from '../utils/mpvPlayer';
const getEndpoint = (item: Item) => {
@@ -1,5 +1,5 @@
import { useEffect } from 'react';
import { usePlayerStore } from 'renderer/store';
import { usePlayerStore } from '../../../store';
import { mpvPlayer } from '../utils/mpvPlayer';
export const useRightControls = () => {