Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [P4PU-585] added receipt error toast. #169

Merged
merged 2 commits into from
Oct 11, 2024

Conversation

AnisLucidi01
Copy link
Contributor

List of Changes

This PR handles the error that the receipt fetching function can throw, and shows a toast accordingly.

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Copy link

github-actions bot commented Oct 11, 2024

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 97.56% (🎯 80%) 3412 / 3497
🔵 Statements 97.56% 3412 / 3497
🔵 Functions 87.97% 139 / 158
🟢 Branches 88.77% (🎯 80%) 340 / 383
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/components/Transactions/TransactionDetail.tsx 99.45% 87.5% 75% 99.45% 66-67
src/utils/files.ts 90.9% 50% 100% 90.9% 11
Generated in workflow #128 for commit d54370a by the Vitest Coverage Report Action

Copy link

sonarcloud bot commented Oct 11, 2024

@AnisLucidi01 AnisLucidi01 merged commit 3d87fc1 into develop Oct 11, 2024
7 checks passed
@AnisLucidi01 AnisLucidi01 deleted the P4PU-585-receipt-error-toast branch October 11, 2024 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants