Feature/settings page #17

Closed
mattdimegs wants to merge 26 commits from feature/settings-page into main
2 changed files with 666 additions and 671 deletions
Showing only changes of commit 941110abc1 - Show all commits

View file

@ -228,7 +228,6 @@ export const Settings = () => {
const hasChanges = Object.keys(changedFields).length > 0;
const onSubmit = (data) => {
console.log('data: ', data);
setDepartment({
...department,
...data
@ -305,10 +304,6 @@ export const Settings = () => {
}
}, [tabValue, isAdministrator, isManager, isScheduler]);
useEffect(() => {
}, [department]);
return (
<div>
{user?.administrator || user?.manager ? (