diff --git a/server/utils/methods.ts b/server/utils/methods.ts index 67e3487..57fdeab 100644 --- a/server/utils/methods.ts +++ b/server/utils/methods.ts @@ -160,7 +160,7 @@ export async function getTxPoolDetails(count: number) { // When count is 0, retrieve all records ordered by timestamp DESC if (count === 0) { const result = await Pool.findAll({ - attributes: ['blob_size', 'fee', 'id', 'timestamp'], + attributes: ['blob_size', 'fee', 'id', 'timestamp', 'tx_id'], order: [['timestamp', 'DESC']] }); return result.length > 0 ? result : []; @@ -173,6 +173,7 @@ export async function getTxPoolDetails(count: number) { 'fee', 'id', 'timestamp', + 'tx_id', [literal('false'), 'isNew'] // Adding a literal false as "isNew" ], order: [['timestamp', 'DESC']], diff --git a/src/App.tsx b/src/App.tsx index 11554ee..24b6c60 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -25,8 +25,8 @@ function App() { } /> } /> } /> - } /> - } /> + {/* } /> + } /> */} {/* {NET_MODE === "TEST" && } /> } */} diff --git a/src/components/default/AliasText/AliasText.tsx b/src/components/default/AliasText/AliasText.tsx index 594153b..63626cb 100644 --- a/src/components/default/AliasText/AliasText.tsx +++ b/src/components/default/AliasText/AliasText.tsx @@ -1,6 +1,7 @@ +import { Link, LinkProps } from "react-router-dom"; import "./AliasText.scss"; -interface AliasTextProps extends React.HTMLProps { +interface AliasTextProps extends LinkProps { children: React.ReactNode } @@ -9,9 +10,9 @@ function AliasText(props: AliasTextProps) { return ( - + {children} - + ) } diff --git a/src/components/default/Header/Header.tsx b/src/components/default/Header/Header.tsx index 712e368..f6cba04 100644 --- a/src/components/default/Header/Header.tsx +++ b/src/components/default/Header/Header.tsx @@ -4,6 +4,7 @@ import { ReactComponent as BurgerImg } from "../../../assets/images/UI/burger.sv import HeaderProps from "./Header.props"; import Button from "../../UI/Button/Button"; import { NET_MODE } from "../../../config/config"; +import { Link } from "react-router-dom"; function Header(props: HeaderProps) { const { page, burgerOpened, setBurgerOpened } = props; @@ -11,53 +12,53 @@ function Header(props: HeaderProps) { function Nav({ className }: { className?: string }) { return (