Skip to content

Commit

Permalink
fix: user views folder name corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
hirenf14 authored Mar 11, 2024
1 parent 2aa7119 commit 5e8497c
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 5e8497c

Please sign in to comment.