diff --git a/site/public/imgs/polkascan-logo-dark.svg b/site/public/imgs/polkascan-logo-dark.svg deleted file mode 100644 index 41baedc5d..000000000 --- a/site/public/imgs/polkascan-logo-dark.svg +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/site/public/imgs/polkascan-logo-inactive-dark.svg b/site/public/imgs/polkascan-logo-inactive-dark.svg deleted file mode 100644 index ed54b62c1..000000000 --- a/site/public/imgs/polkascan-logo-inactive-dark.svg +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/site/public/imgs/polkascan-logo-inactive.svg b/site/public/imgs/polkascan-logo-inactive.svg deleted file mode 100644 index e1e3c6e87..000000000 --- a/site/public/imgs/polkascan-logo-inactive.svg +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/site/public/imgs/polkascan-logo.svg b/site/public/imgs/polkascan-logo.svg deleted file mode 100644 index a0a212173..000000000 --- a/site/public/imgs/polkascan-logo.svg +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/site/public/imgs/projects/polkascan-logo-dark.svg b/site/public/imgs/projects/polkascan-logo-dark.svg deleted file mode 100644 index 03ef7e358..000000000 --- a/site/public/imgs/projects/polkascan-logo-dark.svg +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/site/public/imgs/projects/polkascan-logo.svg b/site/public/imgs/projects/polkascan-logo.svg deleted file mode 100644 index 03ef7e358..000000000 --- a/site/public/imgs/projects/polkascan-logo.svg +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/site/src/pages/Timeline/ButtonList.jsx b/site/src/pages/Timeline/ButtonList.jsx index 5214ab25e..863247ad1 100644 --- a/site/src/pages/Timeline/ButtonList.jsx +++ b/site/src/pages/Timeline/ButtonList.jsx @@ -1,14 +1,14 @@ -import React, { useEffect, useState } from "react"; +import { useEffect, useState } from "react"; import styled from "styled-components"; -import ImageButton from "./ImageButton"; -import ExplorerLink from "../../components/ExplorerLink"; -import ExternalLink from "../../components/ExternalLink"; import { useIsMounted } from "@osn/common"; import { useSelector } from "react-redux"; -import { chainSelector } from "../../store/reducers/chainSlice"; +import ExplorerLink from "../../components/ExplorerLink"; +import ExternalLink from "../../components/ExternalLink"; import { TimelineItemType } from "../../constants"; +import { chainSelector } from "../../store/reducers/chainSlice"; import { currentChainSettings } from "../../utils/chains"; +import ImageButton from "./ImageButton"; const Wrapper = styled.div` margin-top: 8px; @@ -55,16 +55,18 @@ const ButtonList = ({ extrinsicIndexer, eventIndexer, polkassembly, type }) => { ? `extrinsic/${blockHeight}-${extrinsicIndex}` : `extrinsic/${blockHeight}-${extrinsicIndex}?event=${blockHeight}-${eventSort}`; + const statescanLink = isExtrinsic + ? `#/extrinsics/${blockHeight}-${extrinsicIndex}` + : `#/events/${blockHeight}-${eventSort}`; + return ( - {currentChainSettings.hasPolkascan && ( + {currentChainSettings.hasStatescan && ( - + )} {currentChainSettings.hasSubscan && ( diff --git a/site/src/pages/Transfers/TransfersTable.jsx b/site/src/pages/Transfers/TransfersTable.jsx index 5223c7977..d5db9ae06 100644 --- a/site/src/pages/Transfers/TransfersTable.jsx +++ b/site/src/pages/Transfers/TransfersTable.jsx @@ -95,7 +95,7 @@ const TransfersTable = ({ data, loading, header, footer }) => {