fix build
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import type { CurrencyRates } from "@/app/api/types";
|
||||
import { NYM_ACCOUNT_ADDRESS, NYM_PRICES_API } from "@/app/api/urls";
|
||||
import { AccountBalancesCard } from "@/components/accountPageComponents/AccountBalancesCard";
|
||||
import { AccountInfoCard } from "@/components/accountPageComponents/AccountInfoCard";
|
||||
@@ -48,6 +49,7 @@ export default async function Account({
|
||||
params: Promise<{ address: string }>;
|
||||
}) {
|
||||
// const address = (await params).address;
|
||||
console.log("(await params).address :>> ", (await params).address);
|
||||
const address = "n1z0msxu8c098umdhnthpr2ac3ck2n3an97dm8pn";
|
||||
|
||||
const nymAccountAddress = `${NYM_ACCOUNT_ADDRESS}${address}`;
|
||||
@@ -74,7 +76,7 @@ export default async function Account({
|
||||
// refresh event list cache at given interval
|
||||
});
|
||||
|
||||
const nymPriceData = await nymPrice.json();
|
||||
const nymPriceData: CurrencyRates = await nymPrice.json();
|
||||
|
||||
console.log("nymPriceData :>> ", nymPriceData);
|
||||
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
import {
|
||||
CIRCULATING_NYM_SUPPLY,
|
||||
HARBOURMASTER_API_MIXNODES_STATS,
|
||||
HARBOURMASTER_API_SUMMARY,
|
||||
NYM_NODE_DESCRIPTION,
|
||||
NYM_NODES_DESCRIBED,
|
||||
NYM_NODE_DESCRIPTION,
|
||||
} from "./urls";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { IBondInfo, INodeDescription } from "@/app/api";
|
||||
import type { INodeDescription } from "@/app/api";
|
||||
import ExplorerCard from "../cards/ExplorerCard";
|
||||
import ExplorerListItem from "../list/ListItem";
|
||||
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
import type { IBondInfo, INodeDescription } from "@/app/api";
|
||||
import { Stack } from "@mui/material";
|
||||
import { format } from "date-fns";
|
||||
import type { IBondInfo } from "@/app/api";
|
||||
import ExplorerCard from "../cards/ExplorerCard";
|
||||
import ExplorerListItem from "../list/ListItem";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user