- updated zustand and react libraries;
- added 'put in draft' btn;
This commit is contained in:
@@ -9,7 +9,7 @@ import translationStrings from '../../../../translationStringsForComponents';
|
||||
import AssignedApplicationService from '../../../../service/assigned-application-service';
|
||||
|
||||
// store
|
||||
import { useStore } from '../../../../store';
|
||||
import { useStoreValue } from '../../../../store';
|
||||
|
||||
// tools
|
||||
import getFormattedDateString from '../../../../helpers/getFormattedDateString';
|
||||
@@ -32,7 +32,7 @@ const APP_HUB_ID = process.env.REACT_APP_HUB_ID;
|
||||
|
||||
const DomandeTablePreInstructorAsync = ({ userId = null, statuses = [] }) => {
|
||||
const navigate = useNavigate();
|
||||
const userData = useStore().main.userData();
|
||||
const userData = useStoreValue('userData');
|
||||
const [localAsyncRequest, setLocalAsyncRequest] = useState(false);
|
||||
const [items, setItems] = useState(null);
|
||||
const [totalRecordsNum, setTotalRecordsNum] = useState(0);
|
||||
|
||||
Reference in New Issue
Block a user