This commit is contained in:
hamid zarghami
2025-10-12 15:31:00 +03:30
parent 37ed9bc074
commit 7859388439
7 changed files with 152 additions and 2 deletions
+2
View File
@@ -71,6 +71,7 @@ import CategoryLearning from '@/pages/seller/CategoryLearning'
import Learning from '@/pages/seller/Learning'
import CreateLearning from '@/pages/seller/CreateLearning'
import UpdateLearning from '@/pages/seller/UpdateLearning'
import ContractPage from '@/pages/seller/Contract'
const MainRouter: FC = () => {
const { hasSubMenu } = useSharedStore()
@@ -175,6 +176,7 @@ const MainRouter: FC = () => {
<Route path={Pages.sellers.learning} element={<Learning />} />
<Route path={Pages.sellers.learningCreate} element={<CreateLearning />} />
<Route path={`${Pages.sellers.learningUpdate}:id`} element={<UpdateLearning />} />
<Route path={Pages.sellers.contract} element={<ContractPage />} />
</Routes>
</div>
</div>