Skip to content

Commit 3233345

Browse files
committed
remove unnecessary fallback
1 parent 158d622 commit 3233345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/next-template/src/app/components/features/TransactionExamples/TransactionExamples.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export function TransactionExamples() {
8484

8585
const handleTransactionWithModal = useCallback(async () => {
8686
openTransactionModal();
87-
await (buildTransactionWithDAppSponsored.sendTransaction({}) ?? sendTransaction({}));
87+
await (buildTransactionWithDAppSponsored.sendTransaction({}));
8888
}, [buildTransactionWithDAppSponsored, openTransactionModal, sendTransaction]);
8989

9090
const handleTryAgain = useCallback(async () => {

0 commit comments

Comments
 (0)