Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion apps/watcher/src/app/actions/@form/lock/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
Alert,
ApiKeyDialogProtectedAction,
ApiKeyDialogWarning,
Identifier,
Link,
Stack,
SubmitButton,
Expand Down Expand Up @@ -104,7 +105,7 @@ const LockForm = () => {
<>
Lock operation is in progress. Wait for tx [
<Link target="_blank" href={getTxURL(NETWORKS.ergo.key, response.txId)}>
{response.txId}
<Identifier variant="legacy-middle" value={response.txId} />
</Link>
] to be confirmed by some blocks, so your new permits will be activated.
</>
Expand Down
5 changes: 3 additions & 2 deletions apps/watcher/src/app/actions/@form/unlock/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use client';

import { useEffect, useMemo } from 'react';
import Link from 'next/link';

import { FormProvider, type SubmitHandler, useForm } from 'react-hook-form';
import useSWR from 'swr';
Expand All @@ -10,6 +9,8 @@ import useSWRMutation from 'swr/mutation';
import {
ApiKeyDialogProtectedAction,
ApiKeyDialogWarning,
Identifier,
Link,
Stack,
SubmitButton,
useApiKey,
Expand Down Expand Up @@ -127,7 +128,7 @@ const UnlockForm = () => {
<>
Unlock operation is in progress. Wait for tx [
<Link target="_blank" href={getTxURL(NETWORKS.ergo.key, response.txId) ?? '/'}>
{response.txId}
<Identifier variant="legacy-middle" value={response.txId} />
</Link>
] to be confirmed by some blocks.
</>
Expand Down
2 changes: 1 addition & 1 deletion apps/watcher/src/app/actions/@form/withdraw/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ const WithdrawForm = () => {
<>
Withdrawal is successful. Wait for tx [
<Link target="_blank" href={getTxURL(NETWORKS.ergo.key, response.txId) ?? '/'}>
{response.txId}
<Identifier variant="legacy-middle" value={response.txId} />
</Link>
] to be confirmed.
</>
Expand Down
Loading