29 lines
839 B
JavaScript
29 lines
839 B
JavaScript
import React from 'react';
|
|
import { __ } from '@wordpress/i18n';
|
|
|
|
// store
|
|
import { useStore } from '../../store';
|
|
|
|
// components
|
|
import PreInstructorDomandeTable from '../DashboardPreInstructor/components/PreInstructorDomandeTable';
|
|
|
|
const DomandePreInstructor = () => {
|
|
const userData = useStore().main.userData();
|
|
|
|
return(
|
|
<div className="appPage">
|
|
<div className="appPage__pageHeader">
|
|
<h1>{__('Domande da valutare', 'gepafin')}</h1>
|
|
</div>
|
|
|
|
<div className="appPage__spacer"></div>
|
|
|
|
<div className="appPageSection">
|
|
<h2>{__('Nuove domande da valutare', 'gepafin')}</h2>
|
|
<PreInstructorDomandeTable statuses={['AWAITING']} userId={userData.id}/>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default DomandePreInstructor; |