Skip to content

Commit

Permalink
Merge branch 'main' into chore/feature-flag-okx
Browse files Browse the repository at this point in the history
  • Loading branch information
BurntVal authored Jul 18, 2024
2 parents bf626e3 + e03cac3 commit b50a60c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/ten-mayflies-cross.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"abstraxion-dashboard": minor
---

Update explorer link to be dynamic on chain env
6 changes: 5 additions & 1 deletion apps/abstraxion-dashboard/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,11 @@ export function Sidebar({ onClose }: SidebarProps) {
<div className="ui-flex ui-justify-center ui-flex-col ui-flex-grow ">
{renderNavOptions()}
<a
href={"https://explorer.burnt.com/xion-testnet-1/"}
href={
isMainnet
? "https://explorer.burnt.com/xion-mainnet-1/"
: "https://explorer.burnt.com/xion-testnet-1/"
}
target="_blank"
className={`${"ui-text-slate-400 ui-font-regular"} ui-font-akkuratLL ui-block ui-px-8 ui-mt-16 first:ui-mt-0 ui-font-thin ui-leading-3 ui-text-4xl ui-uppercase ui-tracking-widest`}
>
Expand Down

0 comments on commit b50a60c

Please sign in to comment.