Skip to content

Commit c8d89aa

Browse files
committed
refactor: remove ResizeGrip component and window mock
1 parent b7a843f commit c8d89aa

5 files changed

Lines changed: 0 additions & 100 deletions

File tree

‎src/__mocks__/@tauri-apps/api/window.ts‎

Lines changed: 0 additions & 17 deletions
This file was deleted.

‎src/components/ResizeGrip.tsx‎

Lines changed: 0 additions & 46 deletions
This file was deleted.

‎src/components/layout/AppLayout.tsx‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import type { FC, ReactNode } from 'react';
22

3-
import { ResizeGrip } from '../ResizeGrip';
43
import { Sidebar } from '../Sidebar';
54

65
interface AppLayoutProps {
@@ -32,8 +31,6 @@ export const AppLayout: FC<AppLayoutProps> = ({ children }) => {
3231
<Sidebar />
3332

3433
<div className="flex-1 pl-sidebar">{children}</div>
35-
36-
<ResizeGrip />
3734
</div>
3835
);
3936
};

‎src/components/layout/__snapshots__/AppLayout.test.tsx.snap‎

Lines changed: 0 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎vitest.config.ts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ export default defineConfig({
1717
__dirname,
1818
'./src/__mocks__/@tauri-apps/api.ts',
1919
),
20-
'@tauri-apps/api/window': path.resolve(
21-
__dirname,
22-
'./src/__mocks__/@tauri-apps/api/window.ts',
23-
),
2420
'@tauri-apps/api': path.resolve(
2521
__dirname,
2622
'./src/__mocks__/@tauri-apps/api.ts',

0 commit comments

Comments
 (0)