metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

refactor: replace deprecated mixins with text component in loading-swaps-quotes

Open devin-ai-integration[bot] opened this issue 8 months ago • 4 comments

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

Open in GitHub Codespaces

Related issues

Partially Fixes: https://github.com/MetaMask/metamask-extension/issues/20496

Manual testing steps

  1. Go to the latest build of storybook in this PR
  2. 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.