Skip to content

Commit f530be0

Browse files
committed
[NEB-215] Update transaction confirmation prompt
1 parent 8f166ff commit f530be0

File tree

1 file changed

+8
-1
lines changed
  • apps/dashboard/src/app/nebula-app/(app)/components

1 file changed

+8
-1
lines changed

apps/dashboard/src/app/nebula-app/(app)/components/Chats.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export function Chats(props: {
172172
client={props.client}
173173
onTxSettled={(txHash) => {
174174
props.sendMessage(
175-
`I've sent the transaction with hash: ${txHash}.`,
175+
getTransactionSettledPrompt(txHash),
176176
);
177177
}}
178178
/>
@@ -209,6 +209,13 @@ export function Chats(props: {
209209
);
210210
}
211211

212+
function getTransactionSettledPrompt(txHash: string) {
213+
return `\
214+
I've executed the following transaction successfully with hash: ${txHash}.
215+
216+
If our conversation calls for it, continue on to the next transaction or suggest next steps`;
217+
}
218+
212219
function ExecuteTransactionCardWithFallback(props: {
213220
txData: NebulaTxData | null;
214221
client: ThirdwebClient;

0 commit comments

Comments
 (0)