mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 10:23:33 +00:00
fix all imports for new structure
This commit is contained in:
parent
249eaf89f8
commit
930165d006
291 changed files with 2056 additions and 1894 deletions
|
|
@ -21,7 +21,6 @@ import { Link } from 'react-router-dom';
|
|||
|
||||
import packageJson from '../../../../../package.json';
|
||||
|
||||
import { ServerListItem, ServerType } from '/@/renderer/api/types';
|
||||
import { DropdownMenu } from '/@/renderer/components';
|
||||
import { ServerList } from '/@/renderer/features/servers';
|
||||
import { EditServerForm } from '/@/renderer/features/servers/components/edit-server-form';
|
||||
|
|
@ -33,6 +32,7 @@ import {
|
|||
useServerList,
|
||||
useSidebarStore,
|
||||
} from '/@/renderer/store';
|
||||
import { ServerListItem, ServerType } from '/@/shared/types/domain-types';
|
||||
|
||||
const browser = isElectron() ? window.api.browser : null;
|
||||
const localSettings = isElectron() ? window.api.localSettings : null;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import type { ReactNode } from 'react';
|
|||
import { Group } from '@mantine/core';
|
||||
import styled from 'styled-components';
|
||||
|
||||
import { WindowControls } from '../../window-controls';
|
||||
import { WindowControls } from '/@/renderer/features/window-controls';
|
||||
|
||||
interface TitlebarProps {
|
||||
children?: ReactNode;
|
||||
|
|
@ -59,7 +59,3 @@ export const Titlebar = ({ children }: TitlebarProps) => {
|
|||
</>
|
||||
);
|
||||
};
|
||||
|
||||
Titlebar.defaultProps = {
|
||||
children: undefined,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue