mirror of
https://codeberg.org/uzu/strudel
synced 2026-08-17 01:59:24 -04:00
lint
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user