Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseRFelix committed Nov 28, 2024
1 parent 46b85f9 commit f78320e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/web/components/nomic/nomic-pending-transfers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { useClipboard } from "~/hooks/use-clipboard";
import { ModalBase } from "~/modals";
import { BridgeChainWithDisplayInfo } from "~/server/api/routers/bridge-transfer";
import { useStore } from "~/stores";
import { humanizeTime } from "~/utils/date";
import { displayHumanizedTime, humanizeTime } from "~/utils/date";
import { api, RouterOutputs } from "~/utils/trpc";

interface NomicPendingTransfersProps {
Expand Down Expand Up @@ -287,9 +287,10 @@ const TransactionDetailsModal = ({
</h2>
<p className="body1 text-osmoverse-300">
{t("transfer.nomic.estimatedAboutTime", {
time: `${humanizedEstimatedTime.value} ${t(
humanizedEstimatedTime.unitTranslationKey
)}`,
time: displayHumanizedTime({
humanizedTime: humanizedEstimatedTime,
t,
}),
})}
</p>
<ProgressBar
Expand Down

0 comments on commit f78320e

Please sign in to comment.