diff --git a/pkgs/ui/.eslintrc.json b/pkgs/ui/.eslintrc.json index 981c2fbf2..40464e701 100644 --- a/pkgs/ui/.eslintrc.json +++ b/pkgs/ui/.eslintrc.json @@ -5,7 +5,7 @@ "plugins": ["@typescript-eslint"], "ignorePatterns": ["**/src/api/*"], "rules": { - "no-unused-vars": "off", + "@typescript-eslint/no-unused-vars": "off", "@typescript-eslint/no-explicit-any": "off" } } diff --git a/pkgs/ui/src/views/joinPrequel.tsx b/pkgs/ui/src/views/joinPrequel.tsx index 3b121c5ed..eb039a667 100644 --- a/pkgs/ui/src/views/joinPrequel.tsx +++ b/pkgs/ui/src/views/joinPrequel.tsx @@ -10,7 +10,7 @@ import { import { useSearchParams } from "next/navigation"; import { Suspense, useState } from "react"; -import { createFlake } from "@/api/default/default"; +import { createFlake } from "@/api/flake/flake"; import { useAppState } from "@/components/hooks/useAppContext"; import { Confirm } from "@/components/join/confirm"; import { Layout } from "@/components/join/layout"; @@ -27,7 +27,7 @@ export default function JoinPrequel() { const queryParams = useSearchParams(); const flakeUrl = queryParams.get("flake") || ""; const flakeAttr = queryParams.get("attr") || "default"; - const [forkInProgress, setForkInProgress] = useState(false); + const [, setForkInProgress] = useState(false); const { setAppState } = useAppState(); const { control, formState, getValues, reset, watch, handleSubmit } = diff --git a/pkgs/ui/tsconfig.json b/pkgs/ui/tsconfig.json index ebe4baa2f..b93706c25 100644 --- a/pkgs/ui/tsconfig.json +++ b/pkgs/ui/tsconfig.json @@ -21,8 +21,7 @@ } ], "paths": { - "@/*": ["./src/*"], - "@API/*": ["./src/api/*"] + "@/*": ["./src/*"] } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],