Avoid infinite loop loading the list of guests #62

Merged
bustikiller merged 2 commits from fix/infinite-loop into main 2024-10-27 11:10:45 +00:00
Showing only changes of commit de595bbf51 - Show all commits

View File

@ -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")