diff --git a/src/compoments/Spinner.tsx b/src/components/Spinner.tsx similarity index 100% rename from src/compoments/Spinner.tsx rename to src/components/Spinner.tsx diff --git a/src/features/DocumentList/index.tsx b/src/features/DocumentList/index.tsx index 1b22b714..d0aba189 100644 --- a/src/features/DocumentList/index.tsx +++ b/src/features/DocumentList/index.tsx @@ -1,7 +1,7 @@ import React from 'react' import { Link } from 'react-router-dom' -import Spinner from '../../compoments/Spinner' +import Spinner from '../../components/Spinner' import { useGetDocsListQuery } from '../../services/docs' import styles from './index.module.css' diff --git a/tsconfig.json b/tsconfig.json index 757826e0..5a97b61e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,11 +2,7 @@ "compilerOptions": { "target": "ESNext", "useDefineForClassFields": true, - "lib": [ - "DOM", - "DOM.Iterable", - "ESNext" - ], + "lib": ["DOM", "DOM.Iterable", "ESNext"], "allowJs": true, "skipLibCheck": true, "esModuleInterop": true, @@ -20,14 +16,11 @@ "isolatedModules": true, "noEmit": true, "jsx": "react-jsx", - "types": [ - "vitest/globals", - "@testing-library/jest-dom" - ] + "types": ["vitest/globals", "@testing-library/jest-dom"] }, "include": [ "tailwind.config.js", - "vitest.config.ts", + "vite.config.ts", "vitest.config.ts", "postcss.config.js", "prettier.config.js",