Skip to content

Commit

Permalink
fix: external nav dialog on api documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredvu committed Oct 4, 2024
1 parent f9867db commit 9d5d51d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/layout/Header/HeaderDesktop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,16 @@ export const HeaderDesktop = () => {
value: 'DOCUMENTATION',
slotBefore: <Icon iconName={IconName.Terminal} />,
label: stringGetter({ key: STRING_KEYS.API_DOCUMENTATION }),
href: documentation,
// href: documentation,
onClick: () => {
dispatch(
openDialog(
DialogTypes.ExternalLink({
link: documentation,
})
)
);
},
},
{
value: 'MINTSCAN',
Expand Down

0 comments on commit 9d5d51d

Please sign in to comment.