clean up path imports

This commit is contained in:
AbdBarho
2022-12-29 14:38:00 +01:00
parent 0ffbe625f5
commit c487e4dbac
6 changed files with 5 additions and 16 deletions
-8
View File
@@ -1,8 +0,0 @@
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
}
}
}
+1 -1
View File
@@ -9,7 +9,7 @@ import poster from "src/lib/poster";
import { TwoColumns } from "src/components/TwoColumns";
import { Button } from "src/components/Button";
import { LoadingScreen } from "@/components/Loading/LoadingScreen";
import { LoadingScreen } from "src/components/Loading/LoadingScreen";
const SummarizeStory = () => {
// Use an array of tasks that record the sequence of steps until a task is
+1 -1
View File
@@ -8,7 +8,7 @@ import poster from "src/lib/poster";
import { Messages } from "src/components/Messages";
import { TwoColumns } from "src/components/TwoColumns";
import { Button } from "src/components/Button";
import { LoadingScreen } from "@/components/Loading/LoadingScreen";
import { LoadingScreen } from "src/components/Loading/LoadingScreen";
const UserReply = () => {
const [tasks, setTasks] = useState([]);
@@ -9,7 +9,7 @@ import fetcher from "src/lib/fetcher";
import poster from "src/lib/poster";
import { Button } from "src/components/Button";
import { LoadingScreen } from "@/components/Loading/LoadingScreen";
import { LoadingScreen } from "src/components/Loading/LoadingScreen";
const RankInitialPrompts = () => {
const [tasks, setTasks] = useState([]);
+1 -1
View File
@@ -11,7 +11,7 @@ import poster from "src/lib/poster";
import { TwoColumns } from "src/components/TwoColumns";
import { Button } from "src/components/Button";
import { LoadingScreen } from "@/components/Loading/LoadingScreen";
import { LoadingScreen } from "src/components/Loading/LoadingScreen";
const RateSummary = () => {
// Use an array of tasks that record the sequence of steps until a task is
+1 -4
View File
@@ -14,10 +14,7 @@
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
}
"baseUrl": "."
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]