diff --git a/src/app/settings/page.tsx b/src/app/settings/page.tsx index aa72ca0..a22481a 100644 --- a/src/app/settings/page.tsx +++ b/src/app/settings/page.tsx @@ -38,23 +38,10 @@ export default function SettingsPage() { const [inviteRole, setInviteRole] = useState("caregiver"); const [inviteLoading, setInviteLoading] = useState(false); const [familyName, setFamilyName] = useState(""); - const [signingOut, setSigningOut] = useState(false); // Check if can invite more members const canInvite = tier === "pro" || memberCount < 2; - const handleSignOut = async () => { - if (!confirm("Are you sure you want to sign out?")) return; - setSigningOut(true); - try { - await fetch("/api/auth/signout", { method: "POST" }); - router.push("/login"); - } catch (err) { - console.error("Sign out failed:", err); - } - setSigningOut(false); - }; - const themeOptions = [ { value: "light", label: "Light" }, { value: "dark", label: "Dark" }, @@ -324,15 +311,6 @@ export default function SettingsPage() {
App Version
Tia v1.0.0
- - {/* Sign Out */} - );