Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: replace deprecated mixins with Text component in qr-code-vi…
…ew (#25637) ## **Description** This pull request replaces deprecated mixins @include H1 - @include H9 in the SCSS file with the Text component in the `qr-code-view` component. The changes include updating the SCSS file to remove the deprecated mixins and modifying the JavaScript file to use the Text component with appropriate properties. Devin Run Link : https://preview.devin.ai/devin/8158744e0716415fb64b023769e4ffab [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/25637?quickstart=1) ## **Related issues** Partially Fixes: #20496 ## **Manual testing steps** 1. Go to the latest build of storybook in this PR 2. Verify that the QrCodeView component renders correctly without any visual issues 3. Ensure that the Text component is used instead of the deprecated mixins ## **Screenshots/Recordings** ### **Before** ![Before Changes](https://api.devin.ai/attachments/9a8904f8-6bff-4d54-90c8-2b0522e7f345/79852720-e3a7-4bb5-b62a-38679aca0b28.png) ### **After** ![After Changes](https://api.devin.ai/attachments/9a8904f8-6bff-4d54-90c8-2b0522e7f345/79852720-e3a7-4bb5-b62a-38679aca0b28.png) ## **Pre-merge author checklist** - [X] I’ve followed [MetaMask Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [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](https://jsdoc.app/) format if applicable - [X] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] 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. [This Devin run](https://preview.devin.ai/devin/8158744e0716415fb64b023769e4ffab) was requested by Devin. --------- Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: George Marshall <[email protected]>
- Loading branch information