lint
This commit is contained in:
parent
282180ef1c
commit
dc8e5d5394
1 changed files with 5 additions and 1 deletions
|
|
@ -4,5 +4,9 @@ export default function UserFacingErrorMessage(Props) {
|
|||
if (error == null) {
|
||||
return;
|
||||
}
|
||||
return <div className="text-background px-2 py-1 bg-foreground w-full ml-auto">Error: {error.message || 'Unknown Error :-/'}</div>;
|
||||
return (
|
||||
<div className="text-background px-2 py-1 bg-foreground w-full ml-auto">
|
||||
Error: {error.message || 'Unknown Error :-/'}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue