mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Prettier
This commit is contained in:
@@ -1,19 +1,22 @@
|
||||
import React from "react";
|
||||
|
||||
interface IErrorBoundaryProps {
|
||||
children?: React.ReactNode,
|
||||
children?: React.ReactNode;
|
||||
}
|
||||
|
||||
type ErrorInfo = {
|
||||
componentStack: string,
|
||||
componentStack: string;
|
||||
};
|
||||
|
||||
interface IErrorBoundaryState {
|
||||
error?: Error;
|
||||
error?: Error;
|
||||
errorInfo?: ErrorInfo;
|
||||
}
|
||||
|
||||
export class ErrorBoundary extends React.Component<IErrorBoundaryProps, IErrorBoundaryState> {
|
||||
export class ErrorBoundary extends React.Component<
|
||||
IErrorBoundaryProps,
|
||||
IErrorBoundaryState
|
||||
> {
|
||||
constructor(props: IErrorBoundaryProps) {
|
||||
super(props);
|
||||
this.state = {};
|
||||
|
||||
Reference in New Issue
Block a user