mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
13 lines
164 B
JavaScript
13 lines
164 B
JavaScript
import React from "react"
|
|
|
|
class C extends React.Component {
|
|
static getDerivedStateFromError(error) {
|
|
return { error }
|
|
}
|
|
|
|
render() {
|
|
this.state.error;
|
|
}
|
|
}
|
|
|