Skip to content

Commit 198fee5

Browse files
committed
fix type issue and automatic retirement msg
1 parent 3e9e7a3 commit 198fee5

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

cypress/e2e/dashboard.cy.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ describe("Anonymous user visiting dashboard", () => {
1414
type: "HOT_WALLET",
1515
icon: "https://stellar.creit.tech/wallet-icons/freighter.png",
1616
isAvailable: true,
17+
isPlatformWrapper: false,
1718
url: "https://freighter.app",
1819
},
1920
isAnonymous: true,
@@ -45,6 +46,7 @@ describe("User with personal details visiting dashboard", () => {
4546
type: "HOT_WALLET",
4647
icon: "https://stellar.creit.tech/wallet-icons/freighter.png",
4748
isAvailable: true,
49+
isPlatformWrapper: false,
4850
url: "https://freighter.app",
4951
},
5052
isAnonymous: false,

src/components/dashboard/transactions/PendingRetirementsInfo.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ export default function PendingRetirementsInfo() {
3939
} else if (totalPending % 1 === 0) {
4040
body = (
4141
<div className="text-center p-4">
42-
Your pending balance is a round number, so it is automatically
43-
contributed to a personal certificate. This process should nevers take
44-
more than a couple days.
42+
Your pending balance is a whole number, so it will be automatically
43+
retired into a personal certificate. This should be finalized within
44+
an hour.
4545
</div>
4646
);
4747
} else {

src/context/SinkFormContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import { BuildSinkCarbonXdrData, PaymentAsset } from "@stellarcarbon/sc-sdk";
2828

2929
type SinkFormContext = {
3030
register: UseFormRegister<SinkingFormData>;
31-
handleSubmit: UseFormHandleSubmit<SinkingFormData, undefined>;
31+
handleSubmit: UseFormHandleSubmit<SinkingFormData>;
3232
watch: UseFormWatch<SinkingFormData>;
3333
setValue: UseFormSetValue<SinkingFormData>;
3434

0 commit comments

Comments
 (0)