Skip to content

Commit d2bc586

Browse files
deduplicate yup
1 parent e0a6f0f commit d2bc586

File tree

2 files changed

+1
-27
lines changed

2 files changed

+1
-27
lines changed

src/pages/profiles/modification/profile-modification-dialog.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import ProfileModificationForm, {
1111
USER_QUOTA_BUILD_NB,
1212
USER_QUOTA_CASE_NB,
1313
} from './profile-modification-form';
14-
import yup from '../../../utils/yup-config';
1514
import { yupResolver } from '@hookform/resolvers/yup';
1615
import { useForm } from 'react-hook-form';
1716
import {
@@ -21,7 +20,7 @@ import {
2120
useMemo,
2221
useState,
2322
} from 'react';
24-
import { CustomMuiDialog, useSnackMessage } from '@gridsuite/commons-ui';
23+
import { CustomMuiDialog, useSnackMessage, yup } from '@gridsuite/commons-ui';
2524
import { userAdminSrv, UserProfile } from '../../../services';
2625
import { UUID } from 'crypto';
2726

src/utils/yup-config.js

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)