Skip to content

Commit

Permalink
chore: Stop the link propagation on the navigation items (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessieweiyi authored Feb 28, 2024
1 parent 71b89d5 commit 1a61546
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ const AppLayout: FC<PropsWithChildren<AppLayoutProps>> = ({
(e) => {
if (!e.detail.external) {
e.preventDefault();
e.stopPropagation();
setContentType(undefined);
navigate(e.detail.href);
}
Expand Down

0 comments on commit 1a61546

Please sign in to comment.