Skip to content

Commit

Permalink
Merge pull request #65 from Yura-Platonov/ChangePass
Browse files Browse the repository at this point in the history
Update ChangePassPage.jsx
  • Loading branch information
LaPaNu4 authored Jan 4, 2024
2 parents aeb6268 + f6f05cd commit 39dd19a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/ChangePassPage/ChangePassPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function ChangePassPage() {
useEffect(() => {
if (code) {
try {
dispatch(acceptCode(code));
dispatch(acceptCode({code}));
if (user) setSuccess(true);
} catch (error) {
setSuccess(false);
Expand Down

0 comments on commit 39dd19a

Please sign in to comment.