From eae1bc27ed140641819b5a2a32f19534de137744 Mon Sep 17 00:00:00 2001 From: Lukasz Mierzwa Date: Mon, 9 Mar 2026 14:57:27 +0000 Subject: [PATCH] fix(ui): fix setup --- ui/.env | 3 --- ui/src/Components/Theme/index.tsx | 2 +- ui/tsconfig.json | 6 ++---- 3 files changed, 3 insertions(+), 8 deletions(-) delete mode 100644 ui/.env diff --git a/ui/.env b/ui/.env deleted file mode 100644 index 3c16d5b87..000000000 --- a/ui/.env +++ /dev/null @@ -1,3 +0,0 @@ -PUBLIC_URL=. -FAST_REFRESH=false -SKIP_PREFLIGHT_CHECK=true diff --git a/ui/src/Components/Theme/index.tsx b/ui/src/Components/Theme/index.tsx index fae51b09c..b8d791815 100644 --- a/ui/src/Components/Theme/index.tsx +++ b/ui/src/Components/Theme/index.tsx @@ -1,6 +1,6 @@ import React, { use, FC, useEffect } from "react"; -import type { StylesConfig } from "react-select/dist/declarations/src/styles"; +import type { StylesConfig } from "react-select"; export interface ThemeCtx { isDark: boolean; diff --git a/ui/tsconfig.json b/ui/tsconfig.json index 78b0e30b0..1fba5da88 100644 --- a/ui/tsconfig.json +++ b/ui/tsconfig.json @@ -2,14 +2,12 @@ "compilerOptions": { "baseUrl": "src", "target": "esnext", - "module": "esnext", - "moduleResolution": "node", + "module": "preserve", + "moduleResolution": "bundler", "lib": ["dom", "dom.iterable", "esnext"], "types": ["vite/client", "jest", "node"], - "allowJs": true, "skipLibCheck": true, "esModuleInterop": true, - "allowSyntheticDefaultImports": true, "strict": true, "forceConsistentCasingInFileNames": true, "resolveJsonModule": true,