Skip to content

Commit

Permalink
route: pan verification route to home
Browse files Browse the repository at this point in the history
  • Loading branch information
ALOK9442 committed Apr 4, 2024
1 parent 4051aa5 commit b7203c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/authcomponents/verifypan.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ function VerifyPan() {
if (response.status === 200) {
dispatch(panVerified(response.data))
}
navigate('/home')
// console.log(data);
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function PersonalInfo() {

const photo = useSelector((state) => state.user.photo);
const name = useSelector((state) => state.user.name);
const pan = useSelector((state) => state.user.pan);
const pan = useSelector((state) => state.user.pan)?useSelector((state) => state.user.pan):"Enter Your Pan Number Here";

useEffect(() => {
setFullName(name)
Expand Down

0 comments on commit b7203c2

Please sign in to comment.