Skip to content

Commit

Permalink
Fix link to events page (#44154)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbovenzi authored Nov 18, 2024
1 parent 298f1fd commit 1acb54e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions airflow/ui/src/layouts/Nav/BrowseButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@
* specific language governing permissions and limitations
* under the License.
*/
import { Link } from "@chakra-ui/react";
import { FiGlobe } from "react-icons/fi";
import { Link } from "react-router-dom";

import { Menu } from "src/components/ui";

import { NavButton } from "./NavButton";

const links = [
{
href: `/webapp/events`,
href: "/events",
title: "Events",
},
];
Expand All @@ -38,7 +38,7 @@ export const BrowseButton = () => (
<Menu.Content>
{links.map((link) => (
<Menu.Item asChild key={link.title} value={link.title}>
<Link aria-label={link.title} href={link.href}>
<Link aria-label={link.title} to={link.href}>
{link.title}
</Link>
</Menu.Item>
Expand Down

0 comments on commit 1acb54e

Please sign in to comment.