Avoid infinite loop loading the list of guests #62
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user