-
-
- }
- secondarySidebar={ secondarySidebar() }
- sidebar={
- sidebarIsOpened && (
-
- )
- }
- header={
-
- }
- notices={ }
- content={
- <>
-
- { template && (
-
- ) }
- { templateResolved &&
- ! template &&
- settings?.siteUrl &&
- entityId && (
-
+
+
+
+
+ }
+ secondarySidebar={ secondarySidebar() }
+ sidebar={
+ sidebarIsOpened && (
+
+ )
+ }
+ header={
+
+ }
+ notices={ }
+ content={
+ <>
+
+ { template && (
+
- { __(
- "You attempted to edit an item that doesn't exist. Perhaps it was deleted?"
- ) }
-
+ />
) }
-
- >
- }
- actions={
- <>
- { isEntitiesSavedStatesOpen ? (
-
- ) : (
-
-
-
- ) }
- >
- }
- footer={ }
- />
-
-
+ />
+ ) : (
+
+
+
+ ) }
+ >
+ }
+ footer={ }
+ />
+
+
+
diff --git a/packages/edit-site/src/components/error-boundary/index.js b/packages/edit-site/src/components/error-boundary/index.js
new file mode 100644
index 00000000000000..e425df492405f3
--- /dev/null
+++ b/packages/edit-site/src/components/error-boundary/index.js
@@ -0,0 +1,64 @@
+/**
+ * WordPress dependencies
+ */
+import { Component } from '@wordpress/element';
+import { __ } from '@wordpress/i18n';
+import { Button } from '@wordpress/components';
+import { Warning } from '@wordpress/block-editor';
+import { useCopyToClipboard } from '@wordpress/compose';
+
+function CopyButton( { text, children } ) {
+ const ref = useCopyToClipboard( text );
+ return (
+