From 697ed671f394cbd07ea9751fe17f262744d99a49 Mon Sep 17 00:00:00 2001
From: polwex <polwex@sortug.com>
Date: Wed, 16 Jul 2025 08:51:35 +0700
Subject: m

---
 app/(tabs)/login.tsx | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

(limited to 'app/(tabs)/login.tsx')

diff --git a/app/(tabs)/login.tsx b/app/(tabs)/login.tsx
index d09e613..c5f826d 100644
--- a/app/(tabs)/login.tsx
+++ b/app/(tabs)/login.tsx
@@ -19,7 +19,7 @@ import { Passkee } from "@/components/auth/Auth";
 // import { createPasskey, isPasskeySupported } from "../lib/passkey";
 // import { navigationRef } from "../lib/navigationRef";
 
-const PasskeySetupScreen = () => {
+const PasskeySetupScreen = async () => {
   const [isLoading, setIsLoading] = useState(false);
   // const isDarkMode = useSettingsStore((s) => s.isDarkMode);
   const isDarkMode = false;
@@ -31,20 +31,6 @@ const PasskeySetupScreen = () => {
     ? require("../../assets/urbit-logo-dark.png")
     : require("../../assets/urbit-logo-light.png");
 
-  const handleCreatePasskey = async () => {
-    console.log("creaing psskey");
-    setIsLoading(true);
-
-    try {
-      // const res = await startRegistration({})
-    } catch (error) {
-      console.error("Passkey creation error:", error);
-      Alert.alert("Error", "An error occurred while creating the passkey.");
-    } finally {
-      setIsLoading(false);
-    }
-  };
-
   const handleSkip = () => {
     // setHasSeenPasskeyPrompt(true);
     // navigationRef.current?.navigate(ROUTES.LOGIN as never);
-- 
cgit v1.2.3

