From 9183f805a6e2c0f7f7c0bdc873fe106fd5db29b3 Mon Sep 17 00:00:00 2001 From: Aarnav Tale Date: Thu, 21 Aug 2025 11:50:04 -0400 Subject: [PATCH] chore: type fixes --- app/components/Header.tsx | 40 +++++++++---------- .../settings/auth-keys/auth-key-row.tsx | 12 ++++-- 2 files changed, 28 insertions(+), 24 deletions(-) diff --git a/app/components/Header.tsx b/app/components/Header.tsx index e166c7f..97f108e 100644 --- a/app/components/Header.tsx +++ b/app/components/Header.tsx @@ -42,8 +42,6 @@ function TabLink({ name, to, icon }: TabLinkProps) { return (
cn( 'px-3 py-2 flex items-center rounded-md text-nowrap gap-x-2.5', @@ -54,6 +52,8 @@ function TabLink({ name, to, icon }: TabLinkProps) { isActive ? 'after:visible' : 'after:invisible', ) } + prefetch="intent" + to={to} > {icon} {name} @@ -64,13 +64,13 @@ function TabLink({ name, to, icon }: TabLinkProps) { function Link({ href, text }: LinkProps) { return ( {text} @@ -101,20 +101,21 @@ export default function Header(data: Props) { {data.user ? ( {data.user.picture ? ( {data.user.name ) : ( )} { if (key === 'logout') { submit( @@ -126,12 +127,11 @@ export default function Header(data: Props) { ); } }} - disabledKeys={['profile']} >
-

{data.user.name || data.user.displayName}

+

{data.user.name}

{data.user.email}

@@ -148,39 +148,39 @@ export default function Header(data: Props) {