From b69f546ed03f1dd7b940f203b5a042a7e98bbd62 Mon Sep 17 00:00:00 2001 From: Marcelo Serpa <81248+fullofcaffeine@users.noreply.github.com> Date: Fri, 1 Jul 2022 18:29:24 -0500 Subject: [PATCH] Remove doAction from edit navigation error boundary Separate navigation editor screen development is on hold. --- .../edit-navigation/src/components/error-boundary/index.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/edit-navigation/src/components/error-boundary/index.js b/packages/edit-navigation/src/components/error-boundary/index.js index 75c253161f8536..bea03d909c380d 100644 --- a/packages/edit-navigation/src/components/error-boundary/index.js +++ b/packages/edit-navigation/src/components/error-boundary/index.js @@ -5,7 +5,6 @@ import { Component } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; import { Button } from '@wordpress/components'; import { Warning } from '@wordpress/block-editor'; -import { doAction } from '@wordpress/hooks'; class ErrorBoundary extends Component { constructor() { @@ -20,8 +19,6 @@ class ErrorBoundary extends Component { componentDidCatch( error ) { this.setState( { error } ); - - doAction( 'gb.reportErrorBoundaryException', error ); } reboot() {