Skip to content

Commit 4f82e2a

Browse files
ihsrahamnomadbitcoin
authored andcommitted
Fixed and tested txn flow for Passet
1 parent d826055 commit 4f82e2a

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

quick-starts/react-quick-start/src/components/ContractData.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,4 @@ export function ContractData(params: {
135135
)}
136136
</>
137137
);
138-
}
138+
}

quick-starts/react-quick-start/src/components/Mint.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,4 +159,4 @@ export function Mint(params: {
159159
)}
160160
</div>
161161
);
162-
}
162+
}

quick-starts/react-quick-start/src/components/sendTransaction.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ export function SendTransaction() {
157157
border: "none",
158158
borderRadius: "5px",
159159
cursor: isPending ? "not-allowed" : "pointer",
160-
}}>
160+
}}
161+
>
161162
{isPending ? "Confirming..." : `Send ${networkInfo.symbol}`}
162163
</button>
163164
</form>
@@ -169,7 +170,8 @@ export function SendTransaction() {
169170
padding: "10px",
170171
backgroundColor: "#f0f0f0",
171172
borderRadius: "5px",
172-
}}>
173+
}}
174+
>
173175
<strong>Transaction Hash:</strong>
174176
<br />
175177
<code style={{ fontSize: "12px", wordBreak: "break-all" }}>
@@ -198,11 +200,12 @@ export function SendTransaction() {
198200
backgroundColor: "#ffe6e6",
199201
borderRadius: "5px",
200202
color: "#cc0000",
201-
}}>
203+
}}
204+
>
202205
<strong>Error:</strong>{" "}
203206
{(error as BaseError).shortMessage || error.message}
204207
</div>
205208
)}
206209
</div>
207210
);
208-
}
211+
}

0 commit comments

Comments
 (0)