diff --git a/src/common-components/SocialAuthProviders.jsx b/src/common-components/SocialAuthProviders.jsx index b2bb3d07..f786907d 100644 --- a/src/common-components/SocialAuthProviders.jsx +++ b/src/common-components/SocialAuthProviders.jsx @@ -50,7 +50,8 @@ const SocialAuthProviders = (props) => { )); - return {socialAuth}; + // eslint-disable-next-line react/jsx-no-useless-fragment + return <>{socialAuth}; }; SocialAuthProviders.defaultProps = { diff --git a/src/common-components/tests/__snapshots__/SocialAuthProviders.test.jsx.snap b/src/common-components/tests/__snapshots__/SocialAuthProviders.test.jsx.snap index 41109b54..6152667a 100644 --- a/src/common-components/tests/__snapshots__/SocialAuthProviders.test.jsx.snap +++ b/src/common-components/tests/__snapshots__/SocialAuthProviders.test.jsx.snap @@ -1,101 +1,97 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`SocialAuthProviders should match social auth provider with default icon snapshot 1`] = ` - - - + /> + + + + + Sign in with Apple + + `; exports[`SocialAuthProviders should match social auth provider with iconClass snapshot 1`] = ` - - - + /> + + + + + Sign in with Apple + + `; exports[`SocialAuthProviders should match social auth provider with iconImage snapshot 1`] = ` - +Array [ + , - + , +] `;