fix build errors
This commit is contained in:
parent
e1d326e7b1
commit
ca3a5454d1
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
import React, { useEffect, useState } from 'react';
|
||||
import _ from 'lodash';
|
||||
import { TrashIcon } from '@heroicons/react/outline';
|
||||
import { useController, useFieldArray, useForm, useFormState, useWatch } from 'react-hook-form';
|
||||
import { useFieldArray, useForm, useFormState, useWatch } from 'react-hook-form';
|
||||
import { Modal, ConfirmationModal } from 'src/components';
|
||||
import { Input, Select } from 'src/components/Form';
|
||||
import { User, UserRole, useUsers } from 'src/services/users';
|
||||
|
@ -58,6 +58,7 @@ export const UserModal = ({ open, onClose, userId, setUserId }: UserModalProps)
|
|||
if (isDirty) {
|
||||
setDashboardRoleEdited(true);
|
||||
}
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [dashboardRole]);
|
||||
|
||||
const handleSave = async () => {
|
||||
|
|
Loading…
Reference in a new issue