File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
apps/dashboard/src/app/nebula-app/(app)/components Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff 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+
212219function ExecuteTransactionCardWithFallback ( props : {
213220 txData : NebulaTxData | null ;
214221 client : ThirdwebClient ;
You can’t perform that action at this time.
0 commit comments