mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-07-11 19:18:40 +00:00
test: add CI/CD workflow
This commit is contained in:
15
ui/components/BusinessList.tsx
Normal file
15
ui/components/BusinessList.tsx
Normal file
@ -0,0 +1,15 @@
|
||||
const BusinessList = ({ businesses }: { businesses: BusinessData[] }) => {
|
||||
console.log('Rendering BusinessList with:', businesses);
|
||||
|
||||
if (!businesses.length) {
|
||||
return <div>No businesses found</div>;
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
|
||||
{businesses.map(business => (
|
||||
<BusinessCard key={business.id} business={business} />
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
};
|
Reference in New Issue
Block a user