Skip to content

Commit

Permalink
- Fix invalid alert messages in story.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattias800 committed Oct 5, 2023
1 parent 230a516 commit 4d31bac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/panels/src/components/nav-bar/NavBar.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,18 @@ export const Demo: Story<Pick<NavBarProps, "variant">> = ({ variant }) => {
<>
<SidebarMenuHeading label={"Freight portal"} />
<SidebarMenuLink
onClick={() => alert("Clicked Customers")}
onClick={() => alert("Clicked Manage")}
leftIcon={stenaCalendar}
label={"Manage"}
/>
<SidebarMenuLink
onClick={() => alert("Clicked Customers")}
onClick={() => alert("Clicked Book")}
label={"Book (selected)"}
leftIcon={stenaSailingTicket}
selected
/>
<SidebarMenuLink
onClick={() => alert("Clicked Customers")}
onClick={() => alert("Clicked Statistics")}
label={"Statistics"}
leftIcon={stenaStatisticsLine}
/>
Expand Down

0 comments on commit 4d31bac

Please sign in to comment.