Skip to content

Commit cb50d86

Browse files
authored
Change UI for Userprofilemodal (#14)
- Add seperate route /profile for userprofilemodal - Seperate User details and Credentials section - Redesign edit logic - Fix snapshot tests
1 parent c7e4415 commit cb50d86

37 files changed

+521
-782
lines changed

__tests__/app/components/EditPassword.test.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { EditPassword } from 'app/components/UserProfileModal/EditPassword';
2-
import { InputName, InputState } from 'app/types/UserProfileModal';
2+
import { InputName } from 'app/types/UserProfileModal';
33
import { mount } from 'enzyme';
44
import * as React from 'react';
55

@@ -12,11 +12,7 @@ describe('EditPassword Component', () => {
1212
onInputChange={(inputName: InputName, value: string) => {
1313
return;
1414
}}
15-
inputEnabler={(inputState: InputState, value: boolean) => {
16-
return;
17-
}}
1815
editPasswordRef={React.createRef<HTMLFormElement>()}
19-
listDisabled={{}}
2016
oldPassword={'oldPassword'}
2117
password={'password'}
2218
repeatPassword={'repeatPassword'}

0 commit comments

Comments
 (0)