Skip to content

Commit 3f00b29

Browse files
committed
fix(ui): shellTool not changed when trigger init
1 parent 5abb44d commit 3f00b29

File tree

3 files changed

+19
-22
lines changed

3 files changed

+19
-22
lines changed

web/bun.lockb

-872 Bytes
Binary file not shown.

web/package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,37 +15,37 @@
1515
},
1616
"devDependencies": {
1717
"@biomejs/biome": "2.1.4",
18-
"@react-router/dev": "^7.8.2",
19-
"@types/node": "^24.3.0",
20-
"@types/react": "^19.1.12",
18+
"@react-router/dev": "^7.9.1",
19+
"@types/node": "^24.5.2",
20+
"@types/react": "^19.1.13",
2121
"@types/react-copy-to-clipboard": "^5.0.7",
2222
"@types/react-dom": "^19.1.9",
2323
"@types/react-syntax-highlighter": "^15.5.13",
24-
"@vitejs/plugin-react": "^5.0.2",
24+
"@vitejs/plugin-react": "^5.0.3",
2525
"rimraf": "^6.0.1",
26-
"tailwindcss": "^4.1.12",
26+
"tailwindcss": "^4.1.13",
2727
"typescript": "^5.9.2",
28-
"vite": "^7.1.4",
28+
"vite": "^7.1.6",
2929
"vite-bundle-visualizer": "^1.2.1"
3030
},
3131
"dependencies": {
32-
"@hookform/resolvers": "^5.2.1",
33-
"@tailwindcss/vite": "^4.1.12",
34-
"@tanstack/react-query": "^5.85.9",
32+
"@hookform/resolvers": "^5.2.2",
33+
"@tailwindcss/vite": "^4.1.13",
34+
"@tanstack/react-query": "^5.89.0",
3535
"class-variance-authority": "^0.7.1",
3636
"clsx": "^2.1.1",
37-
"framer-motion": "^12.23.12",
38-
"i18next": "^25.4.2",
37+
"framer-motion": "^12.23.16",
38+
"i18next": "^25.5.2",
3939
"lucide-react": "^0.539.0",
40-
"motion": "^12.23.12",
40+
"motion": "^12.23.16",
4141
"radix-ui": "^1.4.3",
4242
"react": "^19.1.1",
4343
"react-copy-to-clipboard": "^5.1.0",
4444
"react-dom": "^19.1.1",
4545
"react-hook-form": "^7.62.0",
4646
"react-i18next": "^15.7.3",
47-
"react-router": "^7.8.2",
48-
"react-router-dom": "^7.8.2",
47+
"react-router": "^7.9.1",
48+
"react-router-dom": "^7.9.1",
4949
"react-syntax-highlighter": "^15.6.6",
5050
"sonner": "^2.0.7",
5151
"tailwind-merge": "^3.3.1",

web/src/components/memshell/main-config-card.tsx

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -386,19 +386,16 @@ export default function MainConfigCard({
386386
</div>
387387
</CardContent>
388388
</Card>
389-
<Tabs
390-
value={shellTool}
391-
onValueChange={(v) => {
392-
handleShellToolChange(v);
393-
}}
394-
className="w-full"
395-
>
389+
<Tabs value={shellTool} className="w-full">
396390
<FormField
397391
control={form.control}
398392
name="shellTool"
399393
render={({ field }) => (
400394
<FormItem>
401-
<Select onValueChange={field.onChange} defaultValue={field.value}>
395+
<Select
396+
value={field.value}
397+
onValueChange={(v) => handleShellToolChange(v)}
398+
>
402399
<FormControl>
403400
<SelectTrigger>
404401
<SelectValue />

0 commit comments

Comments
 (0)