diff --git a/src/entities/AccountInfo/TransactionIcon/ui/index.tsx b/src/entities/AccountInfo/TransactionIcon/ui/index.tsx index bd7bc48..d84de33 100644 --- a/src/entities/AccountInfo/TransactionIcon/ui/index.tsx +++ b/src/entities/AccountInfo/TransactionIcon/ui/index.tsx @@ -40,7 +40,7 @@ const TransactionIcon: FC = ({ baseFee, lowerTime, upperTime, - TransactionSequenceNumber, + // TransactionSequenceNumber, typeOp, style, processedKey, @@ -99,18 +99,18 @@ const TransactionIcon: FC = ({ } - if (lowerTime !== undefined && lowerTime !== previousLowerTime.current) { - params.lowerTime = lowerTime.toString(); - } + // if (lowerTime !== undefined && lowerTime !== previousLowerTime.current) { + // params.lowerTime = lowerTime.toString(); + // } - if (upperTime !== undefined && upperTime !== previousUpperTime.current) { - params.upperTime = upperTime.toString(); - } + // if (upperTime !== undefined && upperTime !== previousUpperTime.current) { + // params.upperTime = upperTime.toString(); + // } - if (TransactionSequenceNumber != null) { - params.TransactionSequenceNumber = TransactionSequenceNumber.toString(); - } + // if (TransactionSequenceNumber !== null && TransactionSequenceNumber !== undefined && TransactionSequenceNumber !== 0) { + // params.TransactionSequenceNumber = TransactionSequenceNumber.toString(); + // } return `/${net}/build-transaction?${new URLSearchParams(params).toString()}`; }; diff --git a/src/views/BuildTransaction/page.tsx b/src/views/BuildTransaction/page.tsx index 7f26eb8..92b0a89 100644 --- a/src/views/BuildTransaction/page.tsx +++ b/src/views/BuildTransaction/page.tsx @@ -478,7 +478,7 @@ const BuildTransaction: FC = () => { return ( {isLoadingSequence ? ( -
Loading sequence number...
+
) : (
= ({ children }) => { console.warn("Unauthorized domain. Skipping commit hash fetch."); return; } + if (!process.env.NEXT_PUBLIC_GITHUB_TOKEN) { console.warn( "You have not set the NEXT_PUBLIC_GITHUB_TOKEN environment variable. Skipping commit hash fetch." ); return; - } + } try { const response = await axios.get( diff --git a/src/views/assets/page.tsx b/src/views/assets/page.tsx index ec51f7a..51057b9 100644 --- a/src/views/assets/page.tsx +++ b/src/views/assets/page.tsx @@ -4,7 +4,7 @@ import React, { useState, useEffect, useRef, FC, FormEvent } from "react"; import { useSearchParams } from "next/navigation"; import { MainLayout } from "@/widgets"; import AssetsListItem, { AssetsItem } from "./AssetsListItem"; -import assets from "@/shared/configs/assets.json"; +import assets from "@/shared/configs/trusted-mtl-assets.json"; import Link from "next/link"; const ITEMS_PER_PAGE = 20; @@ -79,7 +79,7 @@ const Assets: FC = () => {

Trusted MTL Assets