Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

fix loading status

bautistaaa648eb887d301
diff --git a/src/components/ui/navigation.tsx b/src/components/ui/navigation.tsx
index 49c2b577..539e4718 100644
--- a/src/components/ui/navigation.tsx
+++ b/src/components/ui/navigation.tsx
@@ -39,7 +39,9 @@ export function Navigation() {
try {
setLoading(true);
await signIn('github');
- } catch {
+ } catch (error) {
+ console.error(error);
+ } finally {
setLoading(false);
}
};