From de595bbf515fee7c022b80aa6f7de7801b2c972e Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sun, 27 Oct 2024 11:37:27 +0100 Subject: [PATCH] Avoid infinite loop by marking the component as server-side --- app/ui/guests/table.tsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/ui/guests/table.tsx b/app/ui/guests/table.tsx index 0f31a0c..d113e15 100644 --- a/app/ui/guests/table.tsx +++ b/app/ui/guests/table.tsx @@ -1,14 +1,6 @@ -'use client' - import { Guest } from '@/app/lib/definitions'; -import SkeletonRow from './skeleton-row'; -import { Suspense } from 'react'; import clsx from 'clsx'; -export function TableHeader() { - -} - export default async function guestsTable() { let guests: Guest[] = await fetch("http://localhost:3001/guests.json")