From 0264bc8ce49ee32496849b7ef78bce0e6ef9d4e0 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Fri, 17 Apr 2026 02:23:22 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/components/contacts/contacts-link-tab.tsx | 3 +-- src/routeTree.gen.ts | 9 --------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/src/components/contacts/contacts-link-tab.tsx b/src/components/contacts/contacts-link-tab.tsx index 0879c96..4f59c46 100644 --- a/src/components/contacts/contacts-link-tab.tsx +++ b/src/components/contacts/contacts-link-tab.tsx @@ -44,8 +44,7 @@ export function ContactsLinkTab({ const load = async () => { setLoading(true); - const { data, error } = await supabase - .from(parentTable) + const { data, error } = await (supabase.from(parentTable) as any) .select("id, role, contact:contacts(id, name, company, title, email, phone, contact_type, address_line1, city, state, postal_code)") .eq(fkColumn, parentId); if (error) toast.error(error.message); diff --git a/src/routeTree.gen.ts b/src/routeTree.gen.ts index 0eb2296..f3da2a6 100644 --- a/src/routeTree.gen.ts +++ b/src/routeTree.gen.ts @@ -553,12 +553,3 @@ const rootRouteChildren: RootRouteChildren = { export const routeTree = rootRouteImport ._addFileChildren(rootRouteChildren) ._addFileTypes() - -import type { getRouter } from './router.tsx' -import type { createStart } from '@tanstack/react-start' -declare module '@tanstack/react-start' { - interface Register { - ssr: true - router: Awaited> - } -}