Skip to content

Commit 1b6943a

Browse files
Project Chooser - wrong navigation path (#121)
Co-authored-by: Łukasz Goral <[email protected]>
1 parent be8dafa commit 1b6943a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/Projects/ProjectChooser.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ export default function ProjectChooser({ currentProjectName }: Props) {
2727
closeOnItemSelect
2828
placement="Bottom"
2929
onSelect={(e) => {
30-
navigate(
31-
`/mcp/projects/${e.detail.selectedVariant.variantItem.innerText}`,
32-
);
30+
navigate(`/mcp/projects/${e.detail.selectedVariant.children}`);
3331
}}
3432
>
3533
{data?.map((p) => (

0 commit comments

Comments
 (0)