feat:
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { useState } from "react";
|
||||
import PageLayout from "../components/PageLayout";
|
||||
import AdminItems from "../components/AdminItems";
|
||||
// import AdminOrders from "../components/AdminOrders"; // добавим позже
|
||||
import AdminOrders from "../components/AdminOrders"; // добавим позже
|
||||
// import AdminStaff from "../components/AdminStaff"; // добавим позже
|
||||
|
||||
export default function AdminPage() {
|
||||
@@ -38,9 +38,7 @@ export default function AdminPage() {
|
||||
|
||||
{/* Содержимое активной вкладки */}
|
||||
{tab === "items" && <AdminItems />}
|
||||
{tab === "orders" && (
|
||||
<p className="text-white/50">Раздел заказов — в разработке</p>
|
||||
)}
|
||||
{tab === "orders" && <AdminOrders />}
|
||||
{tab === "staff" && (
|
||||
<p className="text-white/50">Раздел сотрудников — в разработке</p>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user