Skip to content

Commit ef9e99a

Browse files
fix: Add missing Radix UI dependencies for Label and Switch
Adds `@radix-ui/react-label` and `@radix-ui/react-switch` to the `dependencies` in `frontend/package.json`. These packages are required by the `label.tsx` and `switch.tsx` ShadCN UI components but were not previously listed as dependencies, leading to TypeScript errors (TS2307: Cannot find module) during the frontend build process within Docker. This change ensures that these dependencies are installed, allowing the project to build successfully.
1 parent ce8b009 commit ef9e99a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

frontend/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@
1212
"dependencies": {
1313
"@langchain/core": "^0.3.55",
1414
"@langchain/langgraph-sdk": "^0.0.74",
15+
"@radix-ui/react-label": "^1.0.0",
1516
"@radix-ui/react-scroll-area": "^1.2.8",
1617
"@radix-ui/react-select": "^2.2.4",
1718
"@radix-ui/react-slot": "^1.2.2",
19+
"@radix-ui/react-switch": "^1.0.0",
1820
"@radix-ui/react-tabs": "^1.1.11",
1921
"@radix-ui/react-tooltip": "^1.2.6",
2022
"@tailwindcss/vite": "^4.1.5",

0 commit comments

Comments
 (0)