1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

Fix className misspelling in awaiting-swap.js

This commit is contained in:
thickforest 2022-01-28 04:47:25 +08:00 committed by GitHub
parent be65eb7339
commit fd46f97e35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
exports[`AwaitingSwap renders the component with initial props 1`] = `
<div
class="awaiting-swap__main-descrption"
class="awaiting-swap__main-description"
>
<span>

View File

@ -273,7 +273,7 @@ export default function AwaitingSwap({
)}
<div className="awaiting-swap__status-image">{statusImage}</div>
<div className="awaiting-swap__header">{headerText}</div>
<div className="awaiting-swap__main-descrption">{descriptionText}</div>
<div className="awaiting-swap__main-description">{descriptionText}</div>
{content}
</div>
{!errorKey && swapComplete ? <MakeAnotherSwap /> : null}

View File

@ -30,7 +30,7 @@ describe('AwaitingSwap', () => {
expect(getByText('ETH')).toBeInTheDocument();
expect(getByText('View in activity')).toBeInTheDocument();
expect(
document.querySelector('.awaiting-swap__main-descrption'),
document.querySelector('.awaiting-swap__main-description'),
).toMatchSnapshot();
expect(getByText('View in activity')).toBeInTheDocument();
});

View File

@ -35,7 +35,7 @@
color: var(--Black-100);
}
&__main-descrption {
&__main-description {
@include H6;
color: var(--Grey-500);