Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-17 02:23:22 +00:00
co-authored by renee-png
parent 1f3fd28159
commit 0264bc8ce4
2 changed files with 1 additions and 11 deletions
@@ -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);
-9
View File
@@ -553,12 +553,3 @@ const rootRouteChildren: RootRouteChildren = {
export const routeTree = rootRouteImport
._addFileChildren(rootRouteChildren)
._addFileTypes<FileRouteTypes>()
import type { getRouter } from './router.tsx'
import type { createStart } from '@tanstack/react-start'
declare module '@tanstack/react-start' {
interface Register {
ssr: true
router: Awaited<ReturnType<typeof getRouter>>
}
}