fix return types
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m25s

This commit is contained in:
Lee
2024-04-18 03:51:41 +01:00
parent 3c9709df12
commit ac1d9b4f82
20 changed files with 41 additions and 91 deletions

View File

@ -1,10 +1,11 @@
import { ReactElement } from "react";
import { Card } from "./card";
type ErrorProps = {
message: string;
};
export function ErrorCard({ message }: ErrorProps): JSX.Element {
export function ErrorCard({ message }: ErrorProps): ReactElement {
return (
<Card>
<div className="flex flex-col justify-center text-center">