NORY-36: remove async from error display

This commit is contained in:
Markus Thielker 2024-12-15 16:37:12 +01:00
parent 9ff25c4a6e
commit 08e65e0ec3
No known key found for this signature in database

View file

@ -3,7 +3,7 @@ interface ErrorDisplayProps {
message: string;
}
export async function ErrorDisplay({ title, message }: ErrorDisplayProps) {
export function ErrorDisplay({ title, message }: ErrorDisplayProps) {
return (
<>
<p className="text-3xl font-bold leading-tight tracking-tight">{title}</p>