Skip to content

Commit

Permalink
fix: reset quote async value (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan-tbd authored Sep 6, 2024
1 parent 8487120 commit 240f5ca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/features/payment/payment_details_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,10 @@ class PaymentDetailsPage extends HookConsumerWidget {
),
);

if (issuedCredential == null) return;
if (issuedCredential == null) {
quote.value = null;
return;
}

credentials = [issuedCredential as String];
}
Expand Down

0 comments on commit 240f5ca

Please sign in to comment.