Skip to content

Commit

Permalink
deduplicate yup
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan-WorkGH committed Jul 24, 2024
1 parent e0a6f0f commit d2bc586
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import ProfileModificationForm, {
USER_QUOTA_BUILD_NB,
USER_QUOTA_CASE_NB,
} from './profile-modification-form';
import yup from '../../../utils/yup-config';
import { yupResolver } from '@hookform/resolvers/yup';
import { useForm } from 'react-hook-form';
import {
Expand All @@ -21,7 +20,7 @@ import {
useMemo,
useState,
} from 'react';
import { CustomMuiDialog, useSnackMessage } from '@gridsuite/commons-ui';
import { CustomMuiDialog, useSnackMessage, yup } from '@gridsuite/commons-ui';
import { userAdminSrv, UserProfile } from '../../../services';
import { UUID } from 'crypto';

Expand Down
25 changes: 0 additions & 25 deletions src/utils/yup-config.js

This file was deleted.

0 comments on commit d2bc586

Please sign in to comment.