added data table
This commit is contained in:
13
app/(auth)/locations/page.tsx
Normal file
13
app/(auth)/locations/page.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import LocationsTable from '@/components/tables/LocationsTable'
|
||||
import { queries } from '@/lib/queries'
|
||||
import React from 'react'
|
||||
|
||||
export default async function LocationsPage() {
|
||||
const eventLocations = await queries.fetchAllLocations()
|
||||
|
||||
return (
|
||||
<div>
|
||||
<LocationsTable eventLocations={eventLocations} />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user