- updated tables, checked filters;

This commit is contained in:
Vitalii Kiiko
2025-04-07 11:12:37 +02:00
parent 9acf1c2041
commit 44ba9036cb
30 changed files with 75 additions and 63 deletions

View File

@@ -6,9 +6,11 @@ import NumberFlow from '@number-flow/react';
// components
import DashboardService from '../../service/dashboard-service';
import SoccorsiPreInstructorTableAsync from '../SoccorsoIstruttorioPreInstructor/components/SoccorsiPreInstructorTableAsync';
import { useStore } from '../../store';
const SoccorsoIstruttorioInstructorManager = () => {
const [mainStats, setMainStats] = useState({});
const userData = useStore().main.userData();
const getStats = (data) => {
if (data.status === 'SUCCESS') {
@@ -86,7 +88,7 @@ const SoccorsoIstruttorioInstructorManager = () => {
<div className="appPage__spacer"></div>
<div className="appPageSection">
<SoccorsiPreInstructorTableAsync userId={0}/>
<SoccorsiPreInstructorTableAsync userId={userData.id}/>
</div>
</div>
)