Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

add missing return

Blue Mousef271b05aa431
diff --git a/src/components/GoogleAuth.tsx b/src/components/GoogleAuth.tsx
index 166c77764..6eb41c79f 100644
--- a/src/components/GoogleAuth.tsx
+++ b/src/components/GoogleAuth.tsx
@@ -27,14 +27,16 @@ const GoogleAuth: React.FC<IGoogleAuth> = ({
}
if (isMiniButton) {
- <Button
- className='border-indigo-100 dark:text-gray-50 dark:border-gray-700 dark:bg-gray-700 dark:hover:bg-gray-600'
- onClick={googleLogin}
- secondary
- regular
- >
- <GoogleGSVG className='w-5 h-5 mr-2' />
- </Button>
+ return (
+ <Button
+ className='border-indigo-100 dark:text-gray-50 dark:border-gray-700 dark:bg-gray-700 dark:hover:bg-gray-600'
+ onClick={googleLogin}
+ secondary
+ regular
+ >
+ <GoogleGSVG className='w-5 h-5' />
+ </Button>
+ )
}
return (