Skip to content

Commit 7062d83

Browse files
authored
Merge pull request #2704 from telerik/fix-astro
chore: fix navigation path
2 parents 5aa029b + 1f4b178 commit 7062d83

File tree

1 file changed

+2
-2
lines changed
  • examples/kendo-react-e-commerce-astro-app/src/components

1 file changed

+2
-2
lines changed

examples/kendo-react-e-commerce-astro-app/src/components/Header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ const Header: React.FC = () => {
2929
const selectedItem: CustomMenuItemModel = event.item;
3030

3131
if (selectedItem.page) {
32-
window.location.href = selectedItem.page;
33-
return;
32+
window.location.href = '/kendo-react/kendo-react-e-commerce-astro-app/' + selectedItem.page;
33+
return;
3434
}
3535

3636
const selectedCategory = selectedItem.text;

0 commit comments

Comments
 (0)