Skip to content

Commit

Permalink
documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Matisse-Sulzer committed Mar 28, 2024
1 parent 3b7cb88 commit 9a2b0a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/pages/error/ErrorPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import { useTranslation } from "react-i18next";

/**
* This component will be rendered when an error occurs.
* @param statusCode The status code of the error.
* @param statusTitle The name of the error.
* @param message Additional information about the error.
* @param statusCode - The status code of the error
* @param statusTitle - The name of the error
* @param message - Additional information about the error
* @returns The ErrorPage component
*/
export function ErrorPage(
{ statusCode, statusTitle, message }: { statusCode: string, statusTitle: string, message: string}
{ statusCode, statusTitle, message }: { statusCode: string, statusTitle: string, message: string }
): JSX.Element {

const { t } = useTranslation();
Expand Down

0 comments on commit 9a2b0a5

Please sign in to comment.