Skip to content

Commit 1d5a04b

Browse files
committed
feat(error-handling): added error page title
1 parent e8fef2a commit 1d5a04b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pages/error/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import React from "react";
44
import { ErrorDefinitions } from "app/error-handling";
55
import { Auth, HeroSheet } from "features";
66
import { AppError } from "models";
7+
import { useTitle } from "../helpers";
78

89
type Props = {
910
/** Приходящая ошибка от обработчика */
@@ -36,6 +37,7 @@ const useAppErrors = (error: AppError) => {
3637
* @remark Отображается при возникающих ошибках в приложении
3738
*/
3839
const ErrorPage = ({ error }: Props) => {
40+
useTitle("Github Client - Some error happened");
3941
const { action } = useAppErrors(error);
4042

4143
return (

0 commit comments

Comments
 (0)