diff --git a/packages/fxa-settings/src/components/FormPassword/index.stories.tsx b/packages/fxa-settings/src/components/FormPassword/index.stories.tsx
index 2c4d30d9312..0f7846f8650 100644
--- a/packages/fxa-settings/src/components/FormPassword/index.stories.tsx
+++ b/packages/fxa-settings/src/components/FormPassword/index.stories.tsx
@@ -8,7 +8,7 @@ import { LocationProvider } from '@reach/router';
import FormPassword from '.';
import { Meta } from '@storybook/react';
import { withLocalization } from 'fxa-react/lib/storybooks';
-import { MockSettingsAppLayout } from '../Settings/SettingsLayout/mocks';
+import SettingsLayout from '../Settings/SettingsLayout';
export default {
title: 'Components/FormPassword',
@@ -17,20 +17,20 @@ export default {
} as Meta;
export const WithCurrentPassword = () => (
-
+
-
+
);
export const WithoutCurrentPassword = () => (
-
+
-
+
);
diff --git a/packages/fxa-settings/src/components/Settings/DropDownAvatarMenu/index.stories.tsx b/packages/fxa-settings/src/components/Settings/DropDownAvatarMenu/index.stories.tsx
index 77f53f808f9..45a0efe7b2c 100644
--- a/packages/fxa-settings/src/components/Settings/DropDownAvatarMenu/index.stories.tsx
+++ b/packages/fxa-settings/src/components/Settings/DropDownAvatarMenu/index.stories.tsx
@@ -8,7 +8,6 @@ import { withLocalization } from 'fxa-react/lib/storybooks';
import DropDownAvatarMenu from '.';
import { Account, AppContext } from 'fxa-settings/src/models';
import { mockAppContext, MOCK_ACCOUNT } from 'fxa-settings/src/models/mocks';
-import { createMockSettingsIntegration } from '../mocks';
export default {
title: 'Components/Settings/DropDownAvatarMenu',
@@ -35,14 +34,12 @@ const accountWithoutAvatar = {
},
} as unknown as Account;
-const integration = createMockSettingsIntegration();
-
const storyWithContext = (account: Partial) => {
const context = { account: account as Account };
const story = () => (
-
+
);
return story;
@@ -51,6 +48,4 @@ const storyWithContext = (account: Partial) => {
export const DefaultNoAvatarOrDisplayName =
storyWithContext(accountWithoutAvatar);
-export const WithAvatarAndDisplayName = () => (
-
-);
+export const WithAvatarAndDisplayName = () => ;
diff --git a/packages/fxa-settings/src/components/Settings/DropDownAvatarMenu/index.test.tsx b/packages/fxa-settings/src/components/Settings/DropDownAvatarMenu/index.test.tsx
index 5a484947a2c..b3718cc1a9e 100644
--- a/packages/fxa-settings/src/components/Settings/DropDownAvatarMenu/index.test.tsx
+++ b/packages/fxa-settings/src/components/Settings/DropDownAvatarMenu/index.test.tsx
@@ -14,7 +14,6 @@ import DropDownAvatarMenu from '.';
import { logViewEvent, settingsViewName } from 'fxa-settings/src/lib/metrics';
import { Account, AppContext } from '../../../models';
import { SettingsContext } from '../../../models/contexts/SettingsContext';
-import { createMockSettingsIntegration } from '../mocks';
import firefox from '../../../lib/channels/firefox';
import { PLACEHOLDER_IMAGE_URL } from '../../../pages/mocks';
@@ -49,7 +48,7 @@ describe('DropDownAvatarMenu', () => {
} as unknown as Account;
renderWithLocalizationProvider(
-
+
);
@@ -76,7 +75,7 @@ describe('DropDownAvatarMenu', () => {
it('renders as expected with avatar url and displayName set', () => {
renderWithLocalizationProvider(
-
+
);
fireEvent.click(screen.getByTestId('drop-down-avatar-menu-toggle'));
@@ -88,7 +87,7 @@ describe('DropDownAvatarMenu', () => {
it('closes on esc keypress', () => {
renderWithLocalizationProvider(
-
+
);
@@ -103,7 +102,7 @@ describe('DropDownAvatarMenu', () => {
@@ -128,7 +127,7 @@ describe('DropDownAvatarMenu', () => {
-
+
);
@@ -154,7 +153,7 @@ describe('DropDownAvatarMenu', () => {
renderWithLocalizationProvider(
-
+
);
@@ -175,14 +174,12 @@ describe('DropDownAvatarMenu', () => {
afterEach(() => {
jest.restoreAllMocks();
});
- it('is called integration is sync', async () => {
+ it('is called', async () => {
renderWithLocalizationProvider(
-
+
);
fireEvent.click(screen.getByTestId('drop-down-avatar-menu-toggle'));
@@ -191,20 +188,5 @@ describe('DropDownAvatarMenu', () => {
});
expect(fxaLogoutSpy).toBeCalledWith({ uid: account.uid });
});
-
- it('is not called when integration is not sync', async () => {
- renderWithLocalizationProvider(
-
-
-
- );
- fireEvent.click(screen.getByTestId('drop-down-avatar-menu-toggle'));
- await act(async () => {
- fireEvent.click(screen.getByTestId('avatar-menu-sign-out'));
- });
- expect(fxaLogoutSpy).not.toBeCalled();
- });
});
});
diff --git a/packages/fxa-settings/src/components/Settings/DropDownAvatarMenu/index.tsx b/packages/fxa-settings/src/components/Settings/DropDownAvatarMenu/index.tsx
index 5b6399613a2..1b50952d969 100644
--- a/packages/fxa-settings/src/components/Settings/DropDownAvatarMenu/index.tsx
+++ b/packages/fxa-settings/src/components/Settings/DropDownAvatarMenu/index.tsx
@@ -11,13 +11,8 @@ import { ReactComponent as SignOut } from './sign-out.svg';
import { logViewEvent, settingsViewName } from '../../../lib/metrics';
import { Localized, useLocalization } from '@fluent/react';
import firefox from '../../../lib/channels/firefox';
-import { SettingsIntegration } from '../interfaces';
-export const DropDownAvatarMenu = ({
- integration,
-}: {
- integration: SettingsIntegration;
-}) => {
+export const DropDownAvatarMenu = () => {
const { displayName, primaryEmail, avatar, uid } = useAccount();
const session = useSession();
const [isRevealed, setRevealed] = useState(false);
@@ -39,9 +34,10 @@ export const DropDownAvatarMenu = ({
try {
await session.destroy();
- if (integration.isSync()) {
- firefox.fxaLogout({ uid });
- }
+ // Send a logout event to Firefox even if the user is in a non-Sync flow.
+ // If the user is signed into the browser, they need to drop the now
+ // destroyed session token.
+ firefox.fxaLogout({ uid });
logViewEvent(settingsViewName, 'signout.success');
window.location.assign(window.location.origin);
diff --git a/packages/fxa-settings/src/components/Settings/FlowRecoveryKeyConfirmPwd/index.stories.tsx b/packages/fxa-settings/src/components/Settings/FlowRecoveryKeyConfirmPwd/index.stories.tsx
index 3e9fc02cc5e..7e4239db8b8 100644
--- a/packages/fxa-settings/src/components/Settings/FlowRecoveryKeyConfirmPwd/index.stories.tsx
+++ b/packages/fxa-settings/src/components/Settings/FlowRecoveryKeyConfirmPwd/index.stories.tsx
@@ -9,7 +9,7 @@ import { Account, AppContext, useFtlMsgResolver } from '../../../models';
import { MOCK_ACCOUNT, mockAppContext } from '../../../models/mocks';
import { AuthUiErrors } from '../../../lib/auth-errors/auth-errors';
import { withLocalization } from 'fxa-react/lib/storybooks';
-import { MockSettingsAppLayout } from '../SettingsLayout/mocks';
+import SettingsLayout from '../SettingsLayout';
export default {
title: 'Components/Settings/FlowRecoveryKeyConfirmPwd',
@@ -76,7 +76,7 @@ const StoryWithContext = (account: Account) => {
return (
-
+
{
viewName,
}}
/>
-
+
);
};
diff --git a/packages/fxa-settings/src/components/Settings/HeaderLockup/index.stories.tsx b/packages/fxa-settings/src/components/Settings/HeaderLockup/index.stories.tsx
index 5f43eac1e34..0f9cf1d449a 100644
--- a/packages/fxa-settings/src/components/Settings/HeaderLockup/index.stories.tsx
+++ b/packages/fxa-settings/src/components/Settings/HeaderLockup/index.stories.tsx
@@ -8,7 +8,6 @@ import { withLocalization } from 'fxa-react/lib/storybooks';
import { HeaderLockup } from '.';
import { Account, AppContext } from '../../../models';
import { mockAppContext, MOCK_ACCOUNT } from 'fxa-settings/src/models/mocks';
-import { createMockSettingsIntegration } from '../mocks';
export default {
title: 'Components/Settings/HeaderLockup',
@@ -26,14 +25,12 @@ const accountWithoutAvatar = {
},
} as unknown as Account;
-const integration = createMockSettingsIntegration();
-
const storyWithContext = (account: Partial) => {
const context = { account: account as Account };
const story = () => (
-
+
);
return story;
@@ -41,4 +38,4 @@ const storyWithContext = (account: Partial) => {
export const WithDefaultAvatar = storyWithContext(accountWithoutAvatar);
-export const WithCustomAvatar = () => ;
+export const WithCustomAvatar = () => ;
diff --git a/packages/fxa-settings/src/components/Settings/HeaderLockup/index.test.tsx b/packages/fxa-settings/src/components/Settings/HeaderLockup/index.test.tsx
index cfce9c6598c..3d0d92ca358 100644
--- a/packages/fxa-settings/src/components/Settings/HeaderLockup/index.test.tsx
+++ b/packages/fxa-settings/src/components/Settings/HeaderLockup/index.test.tsx
@@ -6,7 +6,6 @@ import React from 'react';
import { screen } from '@testing-library/react';
import { renderWithLocalizationProvider } from 'fxa-react/lib/test-utils/localizationProvider';
import HeaderLockup from '.';
-import { createMockSettingsIntegration } from '../mocks';
import { userEvent } from '@testing-library/user-event';
import GleanMetrics from '../../../lib/glean';
@@ -21,9 +20,7 @@ jest.mock('../../../lib/glean', () => ({
describe('HeaderLockup', () => {
it('renders as expected', () => {
- renderWithLocalizationProvider(
-
- );
+ renderWithLocalizationProvider();
const headerMenu = screen.getByTestId('header-menu');
expect(
@@ -45,9 +42,7 @@ describe('HeaderLockup', () => {
});
it('emits Glean event on help link click', async () => {
- renderWithLocalizationProvider(
-
- );
+ renderWithLocalizationProvider();
await userEvent.click(screen.getByRole('link', { name: 'Help' }));
expect(GleanMetrics.accountPref.help).toHaveBeenCalled();
});
diff --git a/packages/fxa-settings/src/components/Settings/HeaderLockup/index.tsx b/packages/fxa-settings/src/components/Settings/HeaderLockup/index.tsx
index a2bf6fbaed6..ca9fafa9f44 100644
--- a/packages/fxa-settings/src/components/Settings/HeaderLockup/index.tsx
+++ b/packages/fxa-settings/src/components/Settings/HeaderLockup/index.tsx
@@ -12,15 +12,10 @@ import DropDownAvatarMenu from '../DropDownAvatarMenu';
import { ReactComponent as Help } from './help.svg';
import { ReactComponent as Menu } from './menu.svg';
import { ReactComponent as Close } from './close.svg';
-import { SettingsIntegration } from '../interfaces';
import Sidebar from '../Sidebar';
import GleanMetrics from '../../../lib/glean';
-export const HeaderLockup = ({
- integration,
-}: {
- integration: SettingsIntegration;
-}) => {
+export const HeaderLockup = () => {
const [sidebarRevealedState, setNavState] = useState(false);
const { l10n } = useLocalization();
const localizedHelpText = l10n.getString('header-help', null, 'Help');
@@ -87,7 +82,7 @@ export const HeaderLockup = ({
/>
-
+
>
);
diff --git a/packages/fxa-settings/src/components/Settings/Page2faReplaceRecoveryCodes/index.stories.tsx b/packages/fxa-settings/src/components/Settings/Page2faReplaceRecoveryCodes/index.stories.tsx
index 044d898823a..6c110ec563b 100644
--- a/packages/fxa-settings/src/components/Settings/Page2faReplaceRecoveryCodes/index.stories.tsx
+++ b/packages/fxa-settings/src/components/Settings/Page2faReplaceRecoveryCodes/index.stories.tsx
@@ -13,7 +13,7 @@ import { Page2faReplaceRecoveryCodes } from '.';
import { Meta } from '@storybook/react';
import { LocationProvider } from '@reach/router';
import { withLocalization } from 'fxa-react/lib/storybooks';
-import { MockSettingsAppLayout } from '../SettingsLayout/mocks';
+import SettingsLayout from '../SettingsLayout';
const session = mockSession(true);
const account = {
@@ -41,9 +41,9 @@ export default {
export const Default = () => (
-
+
-
+
);
diff --git a/packages/fxa-settings/src/components/Settings/PageAvatar/index.stories.tsx b/packages/fxa-settings/src/components/Settings/PageAvatar/index.stories.tsx
index 662c1143d25..bb127c87e6c 100644
--- a/packages/fxa-settings/src/components/Settings/PageAvatar/index.stories.tsx
+++ b/packages/fxa-settings/src/components/Settings/PageAvatar/index.stories.tsx
@@ -7,7 +7,7 @@ import { LocationProvider } from '@reach/router';
import { Meta } from '@storybook/react';
import PageAvatar from './';
import { withLocalization } from 'fxa-react/lib/storybooks';
-import { MockSettingsAppLayout } from '../SettingsLayout/mocks';
+import SettingsLayout from '../SettingsLayout';
export default {
title: 'Pages/Settings/Avatar',
@@ -17,8 +17,8 @@ export default {
export const Default = () => (
-
+
-
+
);
diff --git a/packages/fxa-settings/src/components/Settings/PageChangePassword/index.stories.tsx b/packages/fxa-settings/src/components/Settings/PageChangePassword/index.stories.tsx
index 9b1007b69c0..c658702e084 100644
--- a/packages/fxa-settings/src/components/Settings/PageChangePassword/index.stories.tsx
+++ b/packages/fxa-settings/src/components/Settings/PageChangePassword/index.stories.tsx
@@ -7,7 +7,7 @@ import { PageChangePassword } from '.';
import { LocationProvider } from '@reach/router';
import { Meta } from '@storybook/react';
import { withLocalization } from 'fxa-react/lib/storybooks';
-import { MockSettingsAppLayout } from '../SettingsLayout/mocks';
+import SettingsLayout from '../SettingsLayout';
export default {
title: 'Pages/Settings/ChangePassword',
@@ -17,8 +17,8 @@ export default {
export const Default = () => (
-
+
-
+
);
diff --git a/packages/fxa-settings/src/components/Settings/PageCreatePassword/index.stories.tsx b/packages/fxa-settings/src/components/Settings/PageCreatePassword/index.stories.tsx
index 2e06ab11324..6d56b23e62e 100644
--- a/packages/fxa-settings/src/components/Settings/PageCreatePassword/index.stories.tsx
+++ b/packages/fxa-settings/src/components/Settings/PageCreatePassword/index.stories.tsx
@@ -7,7 +7,7 @@ import React from 'react';
import { LocationProvider } from '@reach/router';
import { Meta } from '@storybook/react';
import { withLocalization } from 'fxa-react/lib/storybooks';
-import { MockSettingsAppLayout } from '../SettingsLayout/mocks';
+import SettingsLayout from '../SettingsLayout';
export default {
title: 'Pages/Settings/CreatePassword',
@@ -17,8 +17,8 @@ export default {
export const Default = () => (
-
+
-
+
);
diff --git a/packages/fxa-settings/src/components/Settings/PageDeleteAccount/index.stories.tsx b/packages/fxa-settings/src/components/Settings/PageDeleteAccount/index.stories.tsx
index b82892c517a..b55dc4cd2bd 100644
--- a/packages/fxa-settings/src/components/Settings/PageDeleteAccount/index.stories.tsx
+++ b/packages/fxa-settings/src/components/Settings/PageDeleteAccount/index.stories.tsx
@@ -7,7 +7,7 @@ import { PageDeleteAccount } from '.';
import { LocationProvider } from '@reach/router';
import { Meta } from '@storybook/react';
import { withLocalization } from 'fxa-react/lib/storybooks';
-import { MockSettingsAppLayout } from '../SettingsLayout/mocks';
+import SettingsLayout from '../SettingsLayout';
export default {
title: 'Pages/Settings/DeleteAccount',
@@ -17,8 +17,8 @@ export default {
export const Default = () => (
-
+
-
+
);
diff --git a/packages/fxa-settings/src/components/Settings/PageDisplayName/index.stories.tsx b/packages/fxa-settings/src/components/Settings/PageDisplayName/index.stories.tsx
index 67f63e0c994..118df72593f 100644
--- a/packages/fxa-settings/src/components/Settings/PageDisplayName/index.stories.tsx
+++ b/packages/fxa-settings/src/components/Settings/PageDisplayName/index.stories.tsx
@@ -7,7 +7,7 @@ import React from 'react';
import { PageDisplayName } from '.';
import { Meta } from '@storybook/react';
import { withLocalization } from 'fxa-react/lib/storybooks';
-import { MockSettingsAppLayout } from '../SettingsLayout/mocks';
+import SettingsLayout from '../SettingsLayout';
export default {
title: 'Pages/Settings/DisplayName',
@@ -17,8 +17,8 @@ export default {
export const Default = () => (
-
+
-
+
);
diff --git a/packages/fxa-settings/src/components/Settings/PageSecondaryEmailAdd/index.stories.tsx b/packages/fxa-settings/src/components/Settings/PageSecondaryEmailAdd/index.stories.tsx
index d4b5aa137c2..91dad200596 100644
--- a/packages/fxa-settings/src/components/Settings/PageSecondaryEmailAdd/index.stories.tsx
+++ b/packages/fxa-settings/src/components/Settings/PageSecondaryEmailAdd/index.stories.tsx
@@ -7,7 +7,7 @@ import { LocationProvider } from '@reach/router';
import { PageSecondaryEmailAdd } from '.';
import { Meta } from '@storybook/react';
import { withLocalization } from 'fxa-react/lib/storybooks';
-import { MockSettingsAppLayout } from '../SettingsLayout/mocks';
+import SettingsLayout from '../SettingsLayout';
export default {
title: 'Pages/Settings/SecondaryEmailAdd',
@@ -17,8 +17,8 @@ export default {
export const Default = () => (
-
+
-
+
);
diff --git a/packages/fxa-settings/src/components/Settings/PageSecondaryEmailVerify/index.stories.tsx b/packages/fxa-settings/src/components/Settings/PageSecondaryEmailVerify/index.stories.tsx
index 4e3fa352f4c..e80cd1b7986 100644
--- a/packages/fxa-settings/src/components/Settings/PageSecondaryEmailVerify/index.stories.tsx
+++ b/packages/fxa-settings/src/components/Settings/PageSecondaryEmailVerify/index.stories.tsx
@@ -7,7 +7,7 @@ import { Meta } from '@storybook/react';
import { PageSecondaryEmailVerify } from '.';
import { WindowLocation, LocationProvider } from '@reach/router';
import { withLocalization } from 'fxa-react/lib/storybooks';
-import { MockSettingsAppLayout } from '../SettingsLayout/mocks';
+import SettingsLayout from '../SettingsLayout';
export default {
title: 'Pages/Settings/SecondaryEmailVerify',
@@ -21,8 +21,8 @@ const mockLocation = {
export const Default = () => (
-
+
-
+
);
diff --git a/packages/fxa-settings/src/components/Settings/PageSettings/index.stories.tsx b/packages/fxa-settings/src/components/Settings/PageSettings/index.stories.tsx
index d14c03b4d79..6c1cce2c339 100644
--- a/packages/fxa-settings/src/components/Settings/PageSettings/index.stories.tsx
+++ b/packages/fxa-settings/src/components/Settings/PageSettings/index.stories.tsx
@@ -16,7 +16,7 @@ import { AppContext } from 'fxa-settings/src/models';
import { MOCK_LINKED_ACCOUNTS } from '../LinkedAccounts/mocks';
import { Meta } from '@storybook/react';
import { withLocalization } from 'fxa-react/lib/storybooks';
-import { MockSettingsAppLayout } from '../SettingsLayout/mocks';
+import SettingsLayout from '../SettingsLayout';
const SERVICES_NON_MOBILE = MOCK_SERVICES.filter((d) => !isMobileDevice(d));
@@ -72,9 +72,9 @@ const storyWithContext = (
const story = () => (
-
+
-
+
);
diff --git a/packages/fxa-settings/src/components/Settings/PageTwoStepAuthentication/index.stories.tsx b/packages/fxa-settings/src/components/Settings/PageTwoStepAuthentication/index.stories.tsx
index 274f60cb75f..29797dc353e 100644
--- a/packages/fxa-settings/src/components/Settings/PageTwoStepAuthentication/index.stories.tsx
+++ b/packages/fxa-settings/src/components/Settings/PageTwoStepAuthentication/index.stories.tsx
@@ -7,7 +7,7 @@ import React from 'react';
import { PageTwoStepAuthentication } from '.';
import { Meta } from '@storybook/react';
import { withLocalization } from 'fxa-react/lib/storybooks';
-import { MockSettingsAppLayout } from '../SettingsLayout/mocks';
+import SettingsLayout from '../SettingsLayout';
export default {
title: 'Pages/Settings/TwoStepAuthentication',
@@ -17,8 +17,8 @@ export default {
export const Default = () => (
-
+
-
+
);
diff --git a/packages/fxa-settings/src/components/Settings/SettingsLayout/index.stories.tsx b/packages/fxa-settings/src/components/Settings/SettingsLayout/index.stories.tsx
index 9f34b8591b2..957a4acb3f5 100644
--- a/packages/fxa-settings/src/components/Settings/SettingsLayout/index.stories.tsx
+++ b/packages/fxa-settings/src/components/Settings/SettingsLayout/index.stories.tsx
@@ -2,7 +2,6 @@ import React from 'react';
import SettingsLayout from './index';
import { Meta } from '@storybook/react';
import { withLocalization } from 'fxa-react/lib/storybooks';
-import { createMockSettingsIntegration } from '../mocks';
export default {
title: 'Components/Settings/SettingsLayout',
@@ -10,10 +9,8 @@ export default {
decorators: [withLocalization],
} as Meta;
-const integration = createMockSettingsIntegration();
-
export const Basic = () => (
-
+
App content goes here
);
diff --git a/packages/fxa-settings/src/components/Settings/SettingsLayout/index.test.tsx b/packages/fxa-settings/src/components/Settings/SettingsLayout/index.test.tsx
index 540351535e4..265967cd864 100644
--- a/packages/fxa-settings/src/components/Settings/SettingsLayout/index.test.tsx
+++ b/packages/fxa-settings/src/components/Settings/SettingsLayout/index.test.tsx
@@ -6,15 +6,15 @@ import React from 'react';
import { screen } from '@testing-library/react';
import { renderWithRouter } from '../../../models/mocks';
import { SETTINGS_PATH } from '../../../constants';
-import { MockSettingsAppLayout } from './mocks';
+import SettingsLayout from '.';
it('renders the app with children', async () => {
const {
history: { navigate },
} = renderWithRouter(
-
+
Hello, world!
-
+
);
await navigate(SETTINGS_PATH);
expect(screen.getByTestId('app')).toBeInTheDocument();
diff --git a/packages/fxa-settings/src/components/Settings/SettingsLayout/index.tsx b/packages/fxa-settings/src/components/Settings/SettingsLayout/index.tsx
index 113d8b3fa0e..5b799b9d318 100644
--- a/packages/fxa-settings/src/components/Settings/SettingsLayout/index.tsx
+++ b/packages/fxa-settings/src/components/Settings/SettingsLayout/index.tsx
@@ -7,14 +7,12 @@ import HeaderLockup from '../HeaderLockup';
import ContentSkip from '../ContentSkip';
import Footer from 'fxa-react/components/Footer';
import { AlertBar } from '../AlertBar';
-import { SettingsIntegration } from '../interfaces';
-type AppLayoutProps = {
+type SettingsLayoutProps = {
children: React.ReactNode;
- integration: SettingsIntegration;
};
-export const SettingsLayout = ({ children, integration }: AppLayoutProps) => {
+export const SettingsLayout = ({ children }: SettingsLayoutProps) => {
return (
{
>
-
+
diff --git a/packages/fxa-settings/src/components/Settings/SettingsLayout/mocks.tsx b/packages/fxa-settings/src/components/Settings/SettingsLayout/mocks.tsx
deleted file mode 100644
index eb0e081e954..00000000000
--- a/packages/fxa-settings/src/components/Settings/SettingsLayout/mocks.tsx
+++ /dev/null
@@ -1,21 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-import React from 'react';
-import SettingsLayout from '.';
-import { createMockSettingsIntegration } from '../mocks';
-
-// Does not follow "Subject" naming convention for clarity because we use
-// this throughout the app and not isolated tests.
-export const MockSettingsAppLayout = ({
- children,
-}: {
- children: React.ReactNode;
-}) => {
- return (
-
- {children}
-
- );
-};
diff --git a/packages/fxa-settings/src/components/Settings/index.tsx b/packages/fxa-settings/src/components/Settings/index.tsx
index 5790b0d1ae2..3bc614b4c18 100644
--- a/packages/fxa-settings/src/components/Settings/index.tsx
+++ b/packages/fxa-settings/src/components/Settings/index.tsx
@@ -141,7 +141,7 @@ export const Settings = ({
}
return (
-
+