From 0664484ba9988ade4f90f7f4950036328e150410 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 20 Sep 2023 14:40:52 -0500 Subject: [PATCH] Move External Login form into the UI --- src/features/external-login/index.tsx | 9 ++++++++- src/features/ui/index.tsx | 3 +++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/features/external-login/index.tsx b/src/features/external-login/index.tsx index 510014dc2..507797f9a 100644 --- a/src/features/external-login/index.tsx +++ b/src/features/external-login/index.tsx @@ -1,10 +1,17 @@ import React from 'react'; +import { FormattedMessage } from 'react-intl'; + +import { BigCard } from 'soapbox/components/big-card'; import ExternalLoginForm from './components/external-login-form'; /** Page for logging into a remote instance */ const ExternalLoginPage: React.FC = () => { - return ; + return ( + }> + + + ); }; export default ExternalLoginPage; diff --git a/src/features/ui/index.tsx b/src/features/ui/index.tsx index a1e9b699b..5ff06223e 100644 --- a/src/features/ui/index.tsx +++ b/src/features/ui/index.tsx @@ -138,6 +138,7 @@ import { PasswordReset, PasswordResetConfirm, RegisterInvite, + ExternalLogin, } from './util/async-components'; import GlobalHotkeys from './util/global-hotkeys'; import { WrappedRoute } from './util/react-router-helpers'; @@ -361,6 +362,8 @@ const SwitchingColumnsArea: React.FC = ({ children }) => )} + +