fix all imports for new structure

This commit is contained in:
jeffvli 2025-05-20 19:23:36 -07:00
parent 249eaf89f8
commit 930165d006
291 changed files with 2056 additions and 1894 deletions

View file

@ -4,12 +4,12 @@ import { useTranslation } from 'react-i18next';
import { Button, Checkbox, FileInput, Text } from '/@/renderer/components';
import { usePlaybackSettings, useSettingsStoreActions } from '/@/renderer/store';
import { PlaybackType } from '/@/renderer/types';
import { PlaybackType } from '/@/shared/types/types';
const localSettings = isElectron() ? window.api.localSettings : null;
export const MpvRequired = () => {
const [mpvPath, setMpvPath] = useState('');
const [, setMpvPath] = useState('');
const settings = usePlaybackSettings();
const { setSettings } = useSettingsStoreActions();
const [disabled, setDisabled] = useState(false);
@ -50,7 +50,6 @@ export const MpvRequired = () => {
<FileInput
disabled={disabled}
onChange={handleSetMpvPath}
placeholder={mpvPath}
/>
<Text>{t('setting.disable_mpv', { context: 'description' })}</Text>
<Checkbox