26 lines
693 B
TypeScript
26 lines
693 B
TypeScript
import { Metadata } from 'next';
|
|
import React from 'react';
|
|
import ManageBrandProducts from './manage-brand-products';
|
|
import { getAccessToken } from '@/utils/apiHelper';
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Sales Admin',
|
|
};
|
|
|
|
|
|
const Sales = async () => {
|
|
const accessToken = await getAccessToken();
|
|
return (
|
|
<div>
|
|
<ManageBrandProducts accessToken={accessToken} />
|
|
</div>
|
|
);
|
|
// return <div style={{ padding: '20px' }}><div style={{ maxWidth: '1200px', margin: '0 auto' }}>
|
|
// <h1>Sales Admin</h1>
|
|
// <p>Manage your brand products and inventory here.</p>
|
|
// <ManageBrandProducts />
|
|
//
|
|
};
|
|
|
|
export default Sales;
|