more, more, more

This commit is contained in:
2024-11-22 16:16:04 -05:00
parent c0ae295734
commit 4c37b9b248
11 changed files with 69 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
import { Account } from "@/db/schema/Account";
import { getData } from "../../actions/accountActions";
import Brands from "../../components/Brand/brands";
import Brands from "../../components/Brand/BrandsList";
export default async function AccountsPage() {
const data = await getData();

View File

@@ -1,11 +1,11 @@
import { getData } from "../../actions/brandActions";
import Brands from "../../components/Brand/brands";
import BrandsList from "../../components/Brand/BrandsList";
export default async function BrandsPage() {
const data = await getData();
return (
<div className="bg-gray-100 min-h-screen flex flex-col">
<Brands brands={data} />
<BrandsList brands={data} />
</div>
);
}