Fix some lint issues

This commit is contained in:
2025-05-22 22:00:37 +02:00
parent 32218e5595
commit 646a897b93
12 changed files with 45 additions and 49 deletions

View File

@@ -3,7 +3,7 @@ import { notifications } from '@mantine/notifications';
import { saveFile, deleteFile } from '../api/file';
import { useWorkspace } from '../contexts/WorkspaceContext';
import { useGitOperations } from './useGitOperations';
import { FileAction } from '../types/file';
import { FileAction } from '@/types/models';
interface UseFileOperationsResult {
handleSave: (filePath: string, content: string) => Promise<boolean>;
@@ -28,7 +28,7 @@ export const useFileOperations = (): UseFileOperationsResult => {
await handleCommitAndPush(commitMessage);
}
},
[settings]
[settings, handleCommitAndPush]
);
const handleSave = useCallback(