import VendorsTable from '@/components/tables/VendorsTable'
import { queries } from '@/lib/queries'
import React from 'react'

export default async function VendorPage() {
    const vendors = await queries.fetchAllVendors()

    return (
        <div>
            <VendorsTable initialVendors={vendors} />
        </div>
    )
}
