File tree Expand file tree Collapse file tree
src/app/[locale]/change-password Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ 'use client' ;
2+
13import * as React from 'react' ;
24import Button from '@mui/material/Button' ;
35import TextField from '@mui/material/TextField' ;
@@ -20,13 +22,16 @@ import {
2022import {
2123 passwordValidationRegex ,
2224 passwordValidationError ,
23- } from '../constants/Validation' ;
24- import { useAppDispatch } from '../hooks' ;
25- import { changePassword , changePasswordInit } from '../store/profile-reducer' ;
25+ } from '../../constants/Validation' ;
26+ import { useAppDispatch } from '../../hooks' ;
27+ import {
28+ changePassword ,
29+ changePasswordInit ,
30+ } from '../../store/profile-reducer' ;
2631import {
2732 selectChangePasswordError ,
2833 selectChangePasswordStatus ,
29- } from '../store/profile-selectors' ;
34+ } from '../../ store/profile-selectors' ;
3035import { useSelector } from 'react-redux/es/hooks/useSelector' ;
3136import { useRouter } from 'next/navigation' ;
3237import { VisibilityOffOutlined , VisibilityOutlined } from '@mui/icons-material' ;
Original file line number Diff line number Diff line change 1+ import { type ReactElement } from 'react' ;
2+ import ChangePassword from './ChangePassword' ;
3+ import { ReduxGateWrapper } from '../../components/ReduxGateWrapper' ;
4+ import { ProtectedPageWrapper } from '../../components/ProtectedPageWrapper' ;
5+
6+ export default function ChangePasswordPage ( ) : ReactElement {
7+ return (
8+ < ReduxGateWrapper >
9+ < ProtectedPageWrapper >
10+ < ChangePassword />
11+ </ ProtectedPageWrapper >
12+ </ ReduxGateWrapper >
13+ ) ;
14+ }
You can’t perform that action at this time.
0 commit comments