Skip to content

Commit 6798eee

Browse files
add change-password form to nextjs app template
1 parent 22ad957 commit 6798eee

File tree

1 file changed

+1
-1
lines changed
  • packages/devextreme-cli/src/templates/nextjs/application/src/components/change-password-form

1 file changed

+1
-1
lines changed

packages/devextreme-cli/src/templates/nextjs/application/src/components/change-password-form/ChangePasswordForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default function ChangePasswordForm() {
2828
setLoading(false);
2929

3030
if (result.isOk) {
31-
router('/login');
31+
router.push('/login');
3232
} else {
3333
notify(result.message, 'error', 2000);
3434
}

0 commit comments

Comments
 (0)