Skip to content

Commit 47165d6

Browse files
authored
Add warning for adding memo during transfer
* add note: memos * change text color bridge disclaimer * show notes in a list confirmation dialog
1 parent 34b48c3 commit 47165d6

File tree

3 files changed

+18
-10
lines changed

3 files changed

+18
-10
lines changed

src/pages/bridge/Issue/ConfirmationDialog.tsx

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,21 @@ export function ConfirmationDialog(props: ConfirmationDialogProps): JSX.Element
105105
</div>
106106
)}
107107
</div>
108-
<div className="text-sm mt-4">
109-
Note: Estimated time for issuing is in a minute after submitting the Stellar payment to the vault, contact
110-
<a href="https://t.me/pendulum_chain" target="_blank" rel="noreferrer" className="mx-1 text-accent">
111-
support
112-
</a>
113-
if your transaction is still pending after 10 minutes.
114-
</div>
108+
109+
<div className="text-sm mt-4">Note:</div>
110+
<ul className="text-sm list-disc list-inside">
111+
<li className="mt-1">
112+
Stellar transactions require memos for accurate processing. Failure to include the transaction memo may
113+
result in the loss of your coins.
114+
</li>
115+
<li className="mt-1">
116+
Estimated time for issuing is in a minute after submitting the Stellar payment to the vault, contact
117+
<a href="https://t.me/pendulum_chain" target="_blank" rel="noreferrer" className="mx-1 text-primary">
118+
support
119+
</a>
120+
if your transaction is still pending after 10 minutes.
121+
</li>
122+
</ul>
115123
</>
116124
),
117125
[asset, destination, expectedStellarMemo, issueRequest, totalAmount],

src/pages/bridge/Issue/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function Issue(props: IssueProps): JSX.Element {
7575
operator program, more
7676
<a
7777
target="_blank"
78-
className="text-accent ml-1"
78+
className="text-primary ml-1"
7979
href="https://pendulum.gitbook.io/pendulum-docs/build/spacewalk-stellar-bridge/operating-a-vault"
8080
rel="noreferrer"
8181
>
@@ -85,7 +85,7 @@ function Issue(props: IssueProps): JSX.Element {
8585
</li>
8686
<li>
8787
Estimated time for issuing: In a minute after submitting the Stellar payment to the vault. Contact
88-
<a href="https://t.me/pendulum_chain" target="_blank" rel="noreferrer" className="mx-1 text-accent">
88+
<a href="https://t.me/pendulum_chain" target="_blank" rel="noreferrer" className="mx-1 text-primary">
8989
support
9090
</a>
9191
if your transaction is still pending after 10 minutes.

src/pages/bridge/TransferDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ export function PendingTransferDialog(props: TransferDialogProps) {
320320
<div className="mt-4" />
321321
<div className="text-sm px-5 ">
322322
Note: Estimated time for issuing is in a minute after submitting the Stellar payment to the vault, contact
323-
<a href="https://t.me/pendulum_chain" target="_blank" rel="noreferrer" className="mx-1 text-accent">
323+
<a href="https://t.me/pendulum_chain" target="_blank" rel="noreferrer" className="mx-1 text-primary">
324324
support
325325
</a>
326326
if your transaction is still pending after 10 minutes.

0 commit comments

Comments
 (0)