Skip to content
Snippets Groups Projects
Commit ca3a5454 authored by Davor's avatar Davor
Browse files

fix build errors

parent e1d326e7
No related branches found
No related tags found
No related merge requests found
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 () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment