fix return types
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m25s
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m25s
This commit is contained in:
@ -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">
|
||||
|
Reference in New Issue
Block a user