MetaMask / metamask-mobile

Mobile web browser providing access to websites that use the Ethereum blockchain
https://metamask.io
Other
2.14k stars 1.1k forks source link

chore(js-ts): Convert app/components/UI/BlockingActionModal/index.js to TypeScript #11308

Closed devin-ai-integration[bot] closed 1 week ago

devin-ai-integration[bot] commented 2 weeks ago

Convert app/components/UI/BlockingActionModal/index.js to TypeScript

Changes Made

Motivation

This change is part of our ongoing effort to migrate the codebase to TypeScript, improving type safety and developer experience.

Context

The BlockingActionModal component is used in various parts of the application to display a modal with a loading spinner. Converting it to TypeScript will help catch potential type-related errors and improve code maintainability.

Related Issues

N/A

Manual Testing Steps

  1. Verify that the BlockingActionModal component still functions correctly in all places it's used.
  2. Check that the loading spinner appears when isLoadingAction is true.
  3. Ensure that the modal shows and hides properly based on the modalVisible prop.

Notes

This Devin run was requested by Sampriti

github-actions[bot] commented 2 weeks ago

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

sonarcloud[bot] commented 2 weeks ago

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud