diff --git a/src/components/rotation.tsx b/src/components/rotation.tsx
index 40d61d01..7c6bf644 100644
--- a/src/components/rotation.tsx
+++ b/src/components/rotation.tsx
@@ -1,7 +1,7 @@
import { Box, Grid, MobileStepper, ThemeProvider, createTheme } from '@mui/material';
import { useState } from 'react';
-import { autoPlay } from 'react-swipeable-views-utils';
import SwipeableViews from 'react-swipeable-views';
+import { autoPlay } from 'react-swipeable-views-utils';
const AutoPlaySwipeableViews = autoPlay(SwipeableViews);
@@ -68,22 +68,20 @@ export default function Rotation() {
);
})}
- {
-
- }
+
);
diff --git a/tsconfig.json b/tsconfig.json
index 658f8422..88a16edf 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,15 +1,11 @@
{
"compilerOptions": {
"target": "es5",
- "lib": [
- "dom",
- "dom.iterable",
- "esnext"
- ],
- "types": [
- "cypress",
- "node"
- ],
+ "lib": ["dom", "dom.iterable", "esnext"],
+ "types": ["cypress", "node"],
+ "paths": {
+ "react": ["./node_modules/@types/react"]
+ },
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
@@ -24,8 +20,5 @@
"noEmit": true,
"jsx": "react-jsx"
},
- "include": [
- "src",
- "**/*.ts"
- ]
+ "include": ["src", "**/*.ts"]
}