mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix className misspelling in awaiting-swap.js
This commit is contained in:
parent
be65eb7339
commit
fd46f97e35
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
exports[`AwaitingSwap renders the component with initial props 1`] = `
|
exports[`AwaitingSwap renders the component with initial props 1`] = `
|
||||||
<div
|
<div
|
||||||
class="awaiting-swap__main-descrption"
|
class="awaiting-swap__main-description"
|
||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
|
|
||||||
|
@ -273,7 +273,7 @@ export default function AwaitingSwap({
|
|||||||
)}
|
)}
|
||||||
<div className="awaiting-swap__status-image">{statusImage}</div>
|
<div className="awaiting-swap__status-image">{statusImage}</div>
|
||||||
<div className="awaiting-swap__header">{headerText}</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}
|
{content}
|
||||||
</div>
|
</div>
|
||||||
{!errorKey && swapComplete ? <MakeAnotherSwap /> : null}
|
{!errorKey && swapComplete ? <MakeAnotherSwap /> : null}
|
||||||
|
@ -30,7 +30,7 @@ describe('AwaitingSwap', () => {
|
|||||||
expect(getByText('ETH')).toBeInTheDocument();
|
expect(getByText('ETH')).toBeInTheDocument();
|
||||||
expect(getByText('View in activity')).toBeInTheDocument();
|
expect(getByText('View in activity')).toBeInTheDocument();
|
||||||
expect(
|
expect(
|
||||||
document.querySelector('.awaiting-swap__main-descrption'),
|
document.querySelector('.awaiting-swap__main-description'),
|
||||||
).toMatchSnapshot();
|
).toMatchSnapshot();
|
||||||
expect(getByText('View in activity')).toBeInTheDocument();
|
expect(getByText('View in activity')).toBeInTheDocument();
|
||||||
});
|
});
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
color: var(--Black-100);
|
color: var(--Black-100);
|
||||||
}
|
}
|
||||||
|
|
||||||
&__main-descrption {
|
&__main-description {
|
||||||
@include H6;
|
@include H6;
|
||||||
|
|
||||||
color: var(--Grey-500);
|
color: var(--Grey-500);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user