mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +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`] = `
|
||||
<div
|
||||
class="awaiting-swap__main-descrption"
|
||||
class="awaiting-swap__main-description"
|
||||
>
|
||||
<span>
|
||||
|
||||
|
@ -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}
|
||||
|
@ -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();
|
||||
});
|
||||
|
@ -35,7 +35,7 @@
|
||||
color: var(--Black-100);
|
||||
}
|
||||
|
||||
&__main-descrption {
|
||||
&__main-description {
|
||||
@include H6;
|
||||
|
||||
color: var(--Grey-500);
|
||||
|
Loading…
Reference in New Issue
Block a user