diff --git a/src/components/Login/LoginComponent.tsx b/src/components/Login/LoginComponent.tsx
index 41103577c..8445e1af4 100644
--- a/src/components/Login/LoginComponent.tsx
+++ b/src/components/Login/LoginComponent.tsx
@@ -1,5 +1,6 @@
import type { FunctionComponent } from 'preact';
import EmailLoginForm from './email-login-form';
+import GoogleLoginButton from './google-login';
export default function LoginComponent() {
return (
@@ -66,52 +67,3 @@ export const GithubLoginButton: FunctionComponent<{ className?: string }> = ({
);
};
-
-export const GoogleLoginButton: FunctionComponent<{ className?: string }> = ({
- className,
-}) => {
- return (
-
- );
-};
-
-function GoogleLogo() {
- return (
-
- );
-}
diff --git a/src/components/Login/account-nav.tsx b/src/components/Login/account-nav.tsx
index 1e2650fc9..b9b3c82dd 100644
--- a/src/components/Login/account-nav.tsx
+++ b/src/components/Login/account-nav.tsx
@@ -12,7 +12,7 @@ export default function AccountNavigation() {
{isLoading ? (
-
+
) : (
<>
@@ -32,10 +32,10 @@ export default function AccountNavigation() {
);
}
-function Spinner() {
+export function Spinner({className}: {className?: string}) {
return (
-
-
-
-
-
-
+
+
@@ -49,40 +42,10 @@ import BaseLayout from '../layouts/BaseLayout.astro';