fix json field form, replaced auth form

This commit is contained in:
dswbx
2025-07-09 08:13:32 +02:00
parent 9d5bc61f33
commit 2ca1f64ae6
6 changed files with 68 additions and 69 deletions
@@ -34,11 +34,13 @@ class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
private renderFallback() {
if (this.props.fallback) {
return typeof this.props.fallback === "function"
? this.props.fallback({ error: this.state.error!, resetError: this.resetError })
: this.props.fallback;
return typeof this.props.fallback === "function" ? (
this.props.fallback({ error: this.state.error!, resetError: this.resetError })
) : (
<BaseError>{this.props.fallback}</BaseError>
);
}
return <BaseError>Error</BaseError>;
return <BaseError>Error1</BaseError>;
}
override render() {