diff --git a/.eslintrc.js b/.eslintrc.js
index 9d3a3d331..b767014c6 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -34,6 +34,7 @@ module.exports = {
'jsx-a11y/no-noninteractive-element-interactions': 'off',
'react/require-default-props': 'off',
'arrow-body-style': ['error', 'as-needed'],
+ 'react/react-in-jsx-scope': 'off',
},
overrides: [
{
@@ -42,7 +43,6 @@ module.exports = {
'@typescript-eslint/explicit-module-boundary-types': 0, // should only be used once file is renamed to actual typescript
'no-shadow': 'off', // https://stackoverflow.com/questions/63961803/eslint-says-all-enums-in-typescript-app-are-already-declared-in-the-upper-scope
'@typescript-eslint/no-shadow': ['error'],
- 'react/react-in-jsx-scope': 'off',
},
},
{
diff --git a/src/components/_variables.scss b/src/components/_variables.scss
index a14c90ffe..d63c32a7b 100644
--- a/src/components/_variables.scss
+++ b/src/components/_variables.scss
@@ -22,12 +22,12 @@ $blue: #0081ee;
$navy-blue: #002f63;
$blue-light: #00aeea;
$very-light-blue: #edf7fe;
-$blue-washed: #ebf7ff;
+$blue-washed: #ebf6fe;
$orange: #ff4800;
$yellow: #fce228;
$yellow-dark: #ffc107;
$green: #078c28;
-$red: #DC3545;
+$red: #dc3545;
$gray-mid: #d8d8d8;
$gray-washed: #fafafa;
$very-light-gray: rgba(48, 48, 48, 0.32);
diff --git a/src/components/flows/partner/PartnerSecondPillarFlow.test.tsx b/src/components/flows/partner/PartnerSecondPillarFlow.test.tsx
index a5fc90716..843332cb3 100644
--- a/src/components/flows/partner/PartnerSecondPillarFlow.test.tsx
+++ b/src/components/flows/partner/PartnerSecondPillarFlow.test.tsx
@@ -82,9 +82,7 @@ describe('partner 2nd pillar flow', () => {
userEvent.click(nextButton());
- const selectionSentence = await screen.findByText(
- /I wish to transfer future fund payments to:/i,
- );
+ const selectionSentence = await screen.findByText(/I transfer future fund payments to:/i);
expect(
within(selectionSentence).getByText('Tuleva World Stocks Pension Fund'),
).toBeInTheDocument();
@@ -122,9 +120,7 @@ describe('partner 2nd pillar flow', () => {
userEvent.click(nextButton());
- const selectionSentence = await screen.findByText(
- /I wish to transfer future fund payments to:/i,
- );
+ const selectionSentence = await screen.findByText(/I transfer future fund payments to:/i);
expect(
within(selectionSentence).getByText('Tuleva World Bonds Pension Fund'),
).toBeInTheDocument();
@@ -193,9 +189,7 @@ describe('partner 2nd pillar flow', () => {
userEvent.click(nextButton());
- const selectionSentence = await screen.findByText(
- /I wish to transfer future fund payments to:/i,
- );
+ const selectionSentence = await screen.findByText(/I transfer future fund payments to:/i);
expect(
within(selectionSentence).getByText('Tuleva World Stocks Pension Fund'),
).toBeInTheDocument();
diff --git a/src/components/flows/secondPillar/SecondPillarFlow.test.tsx b/src/components/flows/secondPillar/SecondPillarFlow.test.tsx
index 0d1d3f077..d1b721780 100644
--- a/src/components/flows/secondPillar/SecondPillarFlow.test.tsx
+++ b/src/components/flows/secondPillar/SecondPillarFlow.test.tsx
@@ -60,9 +60,7 @@ describe('2nd pillar flow', () => {
userEvent.click(nextButton());
- const selectionSentence = await screen.findByText(
- /I wish to transfer future fund payments to:/i,
- );
+ const selectionSentence = await screen.findByText(/I transfer future fund payments to/i);
expect(
within(selectionSentence).getByText('Tuleva World Stocks Pension Fund'),
).toBeInTheDocument();
@@ -100,9 +98,7 @@ describe('2nd pillar flow', () => {
userEvent.click(nextButton());
- const selectionSentence = await screen.findByText(
- /I wish to transfer future fund payments to:/i,
- );
+ const selectionSentence = await screen.findByText(/I transfer future fund payments to/i);
expect(
within(selectionSentence).getByText('Tuleva World Bonds Pension Fund'),
).toBeInTheDocument();
@@ -171,9 +167,7 @@ describe('2nd pillar flow', () => {
userEvent.click(nextButton());
- const selectionSentence = await screen.findByText(
- /I wish to transfer future fund payments to:/i,
- );
+ const selectionSentence = await screen.findByText(/I transfer future fund payments to/i);
expect(
within(selectionSentence).getByText('Tuleva World Stocks Pension Fund'),
).toBeInTheDocument();
diff --git a/src/components/flows/secondPillar/confirmMandate/ConfirmMandate.js b/src/components/flows/secondPillar/confirmMandate/ConfirmMandate.js
index 17e30f4c3..a8236c789 100644
--- a/src/components/flows/secondPillar/confirmMandate/ConfirmMandate.js
+++ b/src/components/flows/secondPillar/confirmMandate/ConfirmMandate.js
@@ -16,7 +16,7 @@ import {
} from '../../../exchange/actions';
import MandateNotFilledAlert from './mandateNotFilledAlert';
-import FundTransferTable from './fundTransferTable';
+import { FundTransferTable } from './fundTransferTable/FundTransferTable';
import './ConfirmMandate.scss';
import { hasAddress as isAddressFilled } from '../../../common/user/address';
@@ -155,24 +155,24 @@ export const ConfirmMandate = ({
)}