mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-15 04:51:06 +02:00
fix all imports for new structure
This commit is contained in:
@@ -15,7 +15,7 @@ import {
|
||||
useSettingsStoreActions,
|
||||
useWindowSettings,
|
||||
} from '/@/renderer/store/settings.store';
|
||||
import { Platform, PlaybackType } from '/@/renderer/types';
|
||||
import { Platform, PlaybackType } from '/@/shared/types/types';
|
||||
|
||||
if (!isElectron()) {
|
||||
useSettingsStore.getState().actions.setSettings({
|
||||
@@ -100,7 +100,3 @@ export const DefaultLayout = ({ shell }: DefaultLayoutProps) => {
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
DefaultLayout.defaultProps = {
|
||||
shell: false,
|
||||
};
|
||||
|
||||
@@ -7,7 +7,7 @@ import { DrawerPlayQueue, SidebarPlayQueue } from '/@/renderer/features/now-play
|
||||
import { ResizeHandle } from '/@/renderer/features/shared';
|
||||
import { AppRoute } from '/@/renderer/router/routes';
|
||||
import { useGeneralSettings, useSidebarStore, useWindowSettings } from '/@/renderer/store';
|
||||
import { Platform } from '/@/renderer/types';
|
||||
import { Platform } from '/@/shared/types/types';
|
||||
|
||||
const RightSidebarContainer = styled(motion.aside)`
|
||||
position: relative;
|
||||
|
||||
@@ -8,7 +8,7 @@ import styled from 'styled-components';
|
||||
import { DrawerPlayQueue } from '/@/renderer/features/now-playing';
|
||||
import { AppRoute } from '/@/renderer/router/routes';
|
||||
import { useAppStore, useSidebarStore } from '/@/renderer/store';
|
||||
import { Platform } from '/@/renderer/types';
|
||||
import { Platform } from '/@/shared/types/types';
|
||||
|
||||
const QueueDrawerArea = styled(motion.div)`
|
||||
position: absolute;
|
||||
|
||||
@@ -13,7 +13,7 @@ import macMin from './assets/min-mac.png';
|
||||
|
||||
import { useCurrentStatus, useQueueStatus } from '/@/renderer/store';
|
||||
import { useWindowSettings } from '/@/renderer/store/settings.store';
|
||||
import { Platform, PlayerStatus } from '/@/renderer/types';
|
||||
import { Platform, PlayerStatus } from '/@/shared/types/types';
|
||||
|
||||
const localSettings = isElectron() ? window.api.localSettings : null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user