metamask-extension
metamask-extension copied to clipboard
refactor: replace deprecated mixins with text component in loading-swaps-quotes
Description
This pull request replaces deprecated mixins with the Text component in the loading-swaps-quotes
file. The changes include updating the SCSS and JS files to use the Text component and related enums, as well as deleting specific SCSS instances as instructed by the user.
Devin Run Link: https://staging.itsdev.in/devin/edffa827e63141c8a3214c25ecf4a760
Related issues
Partially Fixes: https://github.com/MetaMask/metamask-extension/issues/20496
Manual testing steps
- Go to the latest build of storybook in this PR
- Manually check if
LoadingSwapQuotes
is getting rendered properly
Screenshots/Recordings
Before
After
Pre-merge author checklist
- [X] I’ve followed MetaMask Coding Standards.
- [X] I've completed the PR template to the best of my ability
- [X] I’ve included tests if applicable
- [X] I’ve documented my code using JSDoc format if applicable
- [X] I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.
Pre-merge reviewer checklist
- [x] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
- [x] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.