Skip to content

Commit fe103aa

Browse files
committed
Added missing dependency
1 parent 07feed7 commit fe103aa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/pages/Profile/ChangePassword/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const ChangePasswordCard = () => {
5151
setValue('confirmation', '');
5252
}
5353
return () => dispatch(authCleanUp());
54-
}, [dispatch, changedPassword]);
54+
}, [dispatch, changedPassword, setValue]);
5555

5656
const newPassword = watch('new');
5757
const confirmationPassword = watch('confirmation');

src/pages/User/__snapshots__/User.test.js.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ exports[`<User /> rendering should render without crashing 1`] = `
204204
<input
205205
class=""
206206
type="text"
207-
value="09-30-20"
207+
value="10-02-20"
208208
/>
209209
</div>
210210
</div>
@@ -429,7 +429,7 @@ exports[`<User /> rendering should render without crashing 1`] = `
429429
<p
430430
class="date"
431431
>
432-
Wed, Sep 30, 2020
432+
Fri, Oct 2, 2020
433433
</p>
434434
</div>
435435
</div>

0 commit comments

Comments
 (0)