hunk.code_window:           revalidateEvents.RECONNECT_EVENT
           )
         )
         unscubscibe = () => {
           releaseFocus && releaseFocus()
           releaseReconnect && releaseReconnect()
         }
  
hunk.labels: keep keep keep replace keep keep keep
hunk.after_edit:       unsubscribe = () => {
  
hunk.file_path: src/utils/cache.ts
hunk.type: replace
file: import React from 'react'
  
  export default class ErrorBoundary extends React.Component {
    state = { hasError: false, error: null }
    static getDerivedStateFromError(error) {
      return {
        hasError: true,
        error
      }
    }
    render() {
      if (this.state.hasError) {
        return this.props.fallback
      }
      return this.props.children
    }
  }
  