Skip to content

Commit

Permalink
Merge pull request #1 from hirenf14/invalid-path-fix
Browse files Browse the repository at this point in the history
fix: user views folder name corrected
  • Loading branch information
hirenf14 authored Mar 11, 2024
2 parents 2aa7119 + 5e8497c commit 1482311
Show file tree
Hide file tree
Showing 3 changed files with 220 additions and 220 deletions.
4 changes: 2 additions & 2 deletions apps/platform/src/router/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import { SignUpView } from '../views/auth/signUp.view'
import { pages } from '@isomera/impl'
import { PasswordResetView } from '../views/auth/passwordReset.view'
import { PasswordResetConfirmView } from '../views/auth/passwordResetConfirm.view'
import { UserInfoView } from '../views/user /info.view'
import { UserInfoView } from '../views/user/info.view'
import PublicRoute from './publicRoute'
import { VerificationCodeView } from '../views/auth/verificationCode.view'

import { Routes, Route } from 'react-router-dom'
import PrivateRoute from './privateRoute'
import { PublicLayout } from '../layouts/public.layout'
import { PrivateLayout } from '../layouts/private.layout'
import { UserSecurityView } from '../views/user /profile-security.view'
import { UserSecurityView } from '../views/user/profile-security.view'
import { Verify2FAView } from '../views/auth/auth2FA.view'
import { Recovery2FAView } from '../views/auth/recovery.view'
import { Disable2FAView } from '../views/auth/disable-2fa.view'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { Link } from 'react-router-dom'
import useSession from '../../hooks/useSession'

export const UserInfoView = () => {
const { user } = useSession()

return (
<div>
Profile here
<div>First Name: {user?.firstName}</div>
<div>Last Name: {user?.lastName}</div>
<Link to={'/settings/profile/security'}>Security</Link>
</div>
)
}
import { Link } from 'react-router-dom'
import useSession from '../../hooks/useSession'

export const UserInfoView = () => {
const { user } = useSession()

return (
<div>
Profile here
<div>First Name: {user?.firstName}</div>
<div>Last Name: {user?.lastName}</div>
<Link to={'/settings/profile/security'}>Security</Link>
</div>
)
}
Loading

0 comments on commit 1482311

Please sign in to comment.