Skip to content

Commit 99cd2ac

Browse files
committed
fix(title): title for error page
1 parent ea0bad7 commit 99cd2ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/error/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const useAppErrors = (error: AppError) => {
3737
* @remark Отображается при возникающих ошибках в приложении
3838
*/
3939
const ErrorPage = ({ error }: Props) => {
40-
useTitle("Github Client · Some error happened");
40+
useTitle(`Error occured · ${error.code || "Unknown"}`);
4141
const { action } = useAppErrors(error);
4242

4343
return (

0 commit comments

Comments
 (0)