diff --git a/packages/fxa-payments-server/src/components/PaymentErrorView/index.scss b/packages/fxa-payments-server/src/components/PaymentErrorView/index.scss
index c83419c8c13..f24e1be89b8 100644
--- a/packages/fxa-payments-server/src/components/PaymentErrorView/index.scss
+++ b/packages/fxa-payments-server/src/components/PaymentErrorView/index.scss
@@ -8,35 +8,4 @@
.payment-error {
@include checkout-view();
- // override grid-row rule from checkout-view FXA-3237
- grid-row: 3/4;
- margin-top: 0px;
-
- .wrapper {
- margin-bottom: 60px;
-
- p {
- line-height: 22px;
-
- @include max-width('tablet') {
- padding: 0 30px;
- }
-
- @include min-width('desktop') {
- padding: 0 100px;
- }
- }
- }
-
- .button.primary-button {
- margin-bottom: 40px;
- }
-
- #error-icon {
- margin: 60px auto 40px;
- }
-
- @include max-width('tablet') {
- margin-top: 10px;
- }
}
diff --git a/packages/fxa-payments-server/src/components/PaymentErrorView/index.stories.tsx b/packages/fxa-payments-server/src/components/PaymentErrorView/index.stories.tsx
index 7066763a3a6..66dda5978d0 100644
--- a/packages/fxa-payments-server/src/components/PaymentErrorView/index.stories.tsx
+++ b/packages/fxa-payments-server/src/components/PaymentErrorView/index.stories.tsx
@@ -1,22 +1,34 @@
import React from 'react';
-import { storiesOf } from '@storybook/react';
import { PaymentErrorView } from './index';
import { SELECTED_PLAN } from '../../lib/mock-data';
import { BrowserRouter, Routes, Route } from 'react-router-dom';
+import { Meta } from '@storybook/react';
-storiesOf('components/PaymentError', module).add('default', () => (
-
-
- {}}
- plan={SELECTED_PLAN}
- />
- }
- />
-
-
-));
+export default {
+ title: 'components/PaymentError',
+ component: PaymentErrorView,
+} as Meta;
+
+const storyWithContext = (storyName?: string) => {
+ const story = () => (
+
+
+ {}}
+ plan={SELECTED_PLAN}
+ />
+ }
+ />
+
+
+ );
+
+ if (storyName) story.storyName = storyName;
+ return story;
+};
+
+export const Default = storyWithContext('default');
diff --git a/packages/fxa-payments-server/src/components/PaymentErrorView/index.test.tsx b/packages/fxa-payments-server/src/components/PaymentErrorView/index.test.tsx
index b0fdfdc01e7..c1b014d1f8c 100644
--- a/packages/fxa-payments-server/src/components/PaymentErrorView/index.test.tsx
+++ b/packages/fxa-payments-server/src/components/PaymentErrorView/index.test.tsx
@@ -32,8 +32,6 @@ describe('PaymentErrorView test with l10n', () => {
plan={SELECTED_PLAN}
/>
);
- const spinner = queryByAltText('error icon');
- expect(spinner).toBeInTheDocument();
const mainBlock = queryByTestId('payment-error');
expect(mainBlock).toBeInTheDocument();
diff --git a/packages/fxa-payments-server/src/components/PaymentErrorView/index.tsx b/packages/fxa-payments-server/src/components/PaymentErrorView/index.tsx
index 18dcbe179a7..df604a2689d 100644
--- a/packages/fxa-payments-server/src/components/PaymentErrorView/index.tsx
+++ b/packages/fxa-payments-server/src/components/PaymentErrorView/index.tsx
@@ -28,7 +28,7 @@ const retryButtonFn = (onRetry: PaymentErrorViewProps['actionFn']) =>