Files
bflows-bandi-fe/src/pages/DomandeArchivePreInstructor/index.js
Vitalii Kiiko 7dcf932819 - updated zustand and react libraries;
- added 'put in draft' btn;
2025-04-10 12:36:19 +02:00

29 lines
860 B
JavaScript

import React from 'react';
import { __ } from '@wordpress/i18n';
// store
import { useStoreValue } from '../../store';
// components
import DomandeTablePreInstructorAsync from '../DashboardPreInstructor/components/DomandeTablePreInstructorAsync';
const DomandeArchivePreInstructor = () => {
const userData = useStoreValue('userData');
return (
<div className="appPage">
<div className="appPage__pageHeader">
<h1>{__('Archivio domande', 'gepafin')}</h1>
</div>
<div className="appPage__spacer"></div>
<div className="appPageSection">
<h2>{__('Domande completate', 'gepafin')}</h2>
<DomandeTablePreInstructorAsync statuses={['CLOSE']} userId={userData.id}/>
</div>
</div>
)
}
export default DomandeArchivePreInstructor;