Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:ita-social-projects/Forum into #559
Browse files Browse the repository at this point in the history
-NoRegisteringAPasswordLongerThan20Characters
  • Loading branch information
ohorodnykostap committed May 17, 2024
2 parents 38a8903 + 3625dfb commit f40e3a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions FrontEnd/src/components/basicPage/BasicPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import { useAuth } from '../../hooks';
import { Search } from '../SearchPage/Search';
import './customToastStyles.css';
import Contact from '../Contact/Contact';
import ErrorPage404 from '../errorPages/ErrorPage404';

function BasicPage() {
const { isAuth, user, logout, isLoading } = useAuth();
Expand Down Expand Up @@ -166,6 +167,7 @@ function BasicPage() {
path="/search"
element={<Search isAuthorized={isAuth} userData={user} />}
/>
<Route path="*" element={< ErrorPage404 />} />
</Routes>)}
<Footer />
<ScrollToTopButton />
Expand Down

0 comments on commit f40e3a7

Please sign in to comment.