NORY-36: remove async from error display
This commit is contained in:
parent
9ff25c4a6e
commit
08e65e0ec3
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue