From ac2a3dc67374be38caaa7c3e6d1866b4448aea3e Mon Sep 17 00:00:00 2001 From: kalebE36 Date: Thu, 5 Sep 2024 21:58:26 -0400 Subject: [PATCH] removed function that imported fonts --- client/app/components/auth/AuthButtons.tsx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/client/app/components/auth/AuthButtons.tsx b/client/app/components/auth/AuthButtons.tsx index 79044a0e4..9d3ca74da 100644 --- a/client/app/components/auth/AuthButtons.tsx +++ b/client/app/components/auth/AuthButtons.tsx @@ -56,6 +56,7 @@ export const SignOutButton: React.FC = () => { disabled={loading}> Sign Out + ); }; @@ -72,14 +73,6 @@ export const LogInButton: React.FC<{ onPress?: () => void }> = ({ export const SignUpButton: React.FC<{ onPress?: () => void }> = ({ onPress, }) => { - const [fontsLoaded, fontError] = useFonts({ - "Gilroy-ExtraBold": require("../../../assets/fonts/Gilroy-ExtraBold.otf"), - "Gilroy-Light": require("../../../assets/fonts/Gilroy-Light.otf"), - }); - - if (!fontsLoaded && !fontError) { - return null; - } return (