Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
componentWillUnmount() {
eruda.hide()
// if (this.props.page !== 0) {
// }
// eruda.destroy()
// eruda = undefined
process.env.NODE_ENV === "production" || console.log('Eruda.componentWillUnmount')
}
toggleEruda(bool) {
toggleEruda(bool) {
if (this.props.page === 0) {
eruda.show()
} else {
eruda.hide()
}
}
render() {