mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-16 18:07:02 -04:00
[skip ci] add react linting
This commit is contained in:
parent
522fdcd15d
commit
18fdc33ee7
37 changed files with 884 additions and 97 deletions
|
@ -80,10 +80,7 @@ const ErrorBoundary = LazyComponent(() => {
|
|||
if (this.props.noop) return null;
|
||||
|
||||
if (this.props.fallback)
|
||||
return <this.props.fallback
|
||||
children={this.props.children}
|
||||
{...this.state}
|
||||
/>;
|
||||
return <this.props.fallback {...this.state}>{this.props.children}</this.props.fallback>;
|
||||
|
||||
const msg = this.props.message || "An error occurred while rendering this Component. More info can be found below and in your console.";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue