From a31db0a7a77ffb0b8b77254aecaaad78bf8054f6 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Tue, 30 Sep 2025 04:18:12 +0000 Subject: [PATCH] Prettier format pending files --- client/contexts/AuthContext.tsx | 28 ++++++++++++++----- client/pages/Contact.tsx | 48 +++++++++++++++++++++++++-------- 2 files changed, 58 insertions(+), 18 deletions(-) diff --git a/client/contexts/AuthContext.tsx b/client/contexts/AuthContext.tsx index fada6c2c..d8451ba3 100644 --- a/client/contexts/AuthContext.tsx +++ b/client/contexts/AuthContext.tsx @@ -40,22 +40,34 @@ const missingProviderFallback: AuthContextType = { loading: true, profileComplete: false, signIn: async () => { - throw new Error("AuthProvider is not mounted. Please ensure your app is wrapped with ."); + throw new Error( + "AuthProvider is not mounted. Please ensure your app is wrapped with .", + ); }, signUp: async () => { - throw new Error("AuthProvider is not mounted. Please ensure your app is wrapped with ."); + throw new Error( + "AuthProvider is not mounted. Please ensure your app is wrapped with .", + ); }, signInWithOAuth: async () => { - throw new Error("AuthProvider is not mounted. Please ensure your app is wrapped with ."); + throw new Error( + "AuthProvider is not mounted. Please ensure your app is wrapped with .", + ); }, signOut: async () => { - throw new Error("AuthProvider is not mounted. Please ensure your app is wrapped with ."); + throw new Error( + "AuthProvider is not mounted. Please ensure your app is wrapped with .", + ); }, updateProfile: async () => { - throw new Error("AuthProvider is not mounted. Please ensure your app is wrapped with ."); + throw new Error( + "AuthProvider is not mounted. Please ensure your app is wrapped with .", + ); }, refreshProfile: async () => { - throw new Error("AuthProvider is not mounted. Please ensure your app is wrapped with ."); + throw new Error( + "AuthProvider is not mounted. Please ensure your app is wrapped with .", + ); }, }; @@ -63,7 +75,9 @@ export const useAuth = () => { const context = useContext(AuthContext); if (context === undefined) { if (!warnedMissingProvider) { - console.warn("useAuth called without an AuthProvider. Falling back to safe defaults."); + console.warn( + "useAuth called without an AuthProvider. Falling back to safe defaults.", + ); warnedMissingProvider = true; } return missingProviderFallback; diff --git a/client/pages/Contact.tsx b/client/pages/Contact.tsx index 8cf86f68..a661ec53 100644 --- a/client/pages/Contact.tsx +++ b/client/pages/Contact.tsx @@ -10,7 +10,13 @@ import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { Textarea } from "@/components/ui/textarea"; import { Label } from "@/components/ui/label"; -import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"; +import { + Select, + SelectContent, + SelectItem, + SelectTrigger, + SelectValue, +} from "@/components/ui/select"; import { aethexToast } from "@/lib/aethex-toast"; import { Mail, Phone, MessageSquare } from "lucide-react"; import { useState } from "react"; @@ -84,15 +90,29 @@ export default function Contact() { Related resources - Find quick answers and community links. + + Find quick answers and community links. + - Community hub - Docs - Changelog - Blog - Live feed - Support + + Community hub + + + Docs + + + Changelog + + + Blog + + + Live feed + + + Support + @@ -129,13 +149,17 @@ export default function Contact() {
@@ -143,7 +167,9 @@ export default function Contact() {