From 4d31bac123039a1e358eab30d2ee0dd53a7c20c1 Mon Sep 17 00:00:00 2001 From: Mattias Andersson Date: Thu, 5 Oct 2023 11:42:49 +0200 Subject: [PATCH] - Fix invalid alert messages in story. --- packages/panels/src/components/nav-bar/NavBar.stories.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/panels/src/components/nav-bar/NavBar.stories.tsx b/packages/panels/src/components/nav-bar/NavBar.stories.tsx index bb6c86b7a..24516fabe 100644 --- a/packages/panels/src/components/nav-bar/NavBar.stories.tsx +++ b/packages/panels/src/components/nav-bar/NavBar.stories.tsx @@ -63,18 +63,18 @@ export const Demo: Story> = ({ variant }) => { <> alert("Clicked Customers")} + onClick={() => alert("Clicked Manage")} leftIcon={stenaCalendar} label={"Manage"} /> alert("Clicked Customers")} + onClick={() => alert("Clicked Book")} label={"Book (selected)"} leftIcon={stenaSailingTicket} selected /> alert("Clicked Customers")} + onClick={() => alert("Clicked Statistics")} label={"Statistics"} leftIcon={stenaStatisticsLine} />