@@ -94,16 +90,8 @@ const AutoAdoptionFailedWelcomeContent = ({
},
)}
value={componentLogs}
- onCopy={() => {
- void writeToClipboard(componentLogs);
- }}
- onDownload={() => {
- downloadText(
- componentLogs,
- `auto-adoption-error-log-${component}`,
- 'txt',
- );
- }}
+ copy
+ download
/>
)}
diff --git a/web/src/pages/SetupPage/initial/steps/SetupEdgeAdoptionStep.tsx b/web/src/pages/SetupPage/initial/steps/SetupEdgeAdoptionStep.tsx
index faa01a5aea..bf7ef4d50e 100644
--- a/web/src/pages/SetupPage/initial/steps/SetupEdgeAdoptionStep.tsx
+++ b/web/src/pages/SetupPage/initial/steps/SetupEdgeAdoptionStep.tsx
@@ -152,6 +152,8 @@ export const SetupEdgeAdoptionStep = () => {