feat: add router to the arm page (#14)

This commit is contained in:
2024-11-09 19:34:12 +03:00
parent e4969938c3
commit 04e4d011ff
4 changed files with 26 additions and 25 deletions

View File

@@ -2,9 +2,7 @@ import React, { useState } from 'react';
import LayoutArm from '../../components/LayoutArm';
const Page = () => {
const [currentPage, setCurrentPage] = useState('orders');
return <LayoutArm currentPage={currentPage} onSelectPage={setCurrentPage} />;
return <LayoutArm />;
};
export default Page;