Skip to content

Commit

Permalink
Merge pull request #439 from Studio-Yandex-Practicum/bug_437_login_page
Browse files Browse the repository at this point in the history
Удалил заголовок на странице авторизации
  • Loading branch information
kirill-k88 authored Jun 26, 2024
2 parents e0a5539 + 96a289b commit e981b00
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/pages/LoginPage/LoginPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@ import { Suspense, lazy, useCallback } from 'react'
import { useNavigate } from 'react-router'

import { Routes } from '@/shared/config/routerConfig/routes'
import Heading from '@/shared/ui/Heading/Heading'
import Spinner from '@/shared/ui/Spinner/Spinner'
import WrapperForMainContent from '@/shared/ui/WrapperForMainContent/WrapperForMainContent'

import styles from './LoginPage.module.scss'

const LazyLoginForm = lazy(() => import('@/features/login/index'))

/**
Expand All @@ -20,7 +17,6 @@ const LoginPage = () => {
}, [navigate])
return (
<WrapperForMainContent>
<Heading className={styles.heading}>Страница авторизации</Heading>
<Suspense fallback={<Spinner />}>
<LazyLoginForm onLogin={onLogin} />
</Suspense>
Expand Down

0 comments on commit e981b00

Please sign in to comment.