From 2fdcd6d71997bc50ea1b4b36a5c775b03f42ce9b Mon Sep 17 00:00:00 2001 From: "Fred K. Schott" Date: Mon, 4 Dec 2023 13:27:45 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/runtime/client/dev-overlay/overlay.ts | 2 -- .../astro/src/runtime/client/dev-overlay/plugins/xray.ts | 9 +++++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/astro/src/runtime/client/dev-overlay/overlay.ts b/packages/astro/src/runtime/client/dev-overlay/overlay.ts index 1a3457ceb1..9866391143 100644 --- a/packages/astro/src/runtime/client/dev-overlay/overlay.ts +++ b/packages/astro/src/runtime/client/dev-overlay/overlay.ts @@ -350,8 +350,6 @@ export class AstroDevOverlay extends HTMLElement { this.setOverlayVisible(false); } }); - - } async initPlugin(plugin: DevOverlayPlugin) { diff --git a/packages/astro/src/runtime/client/dev-overlay/plugins/xray.ts b/packages/astro/src/runtime/client/dev-overlay/plugins/xray.ts index a460e2a3b0..5b73270296 100644 --- a/packages/astro/src/runtime/client/dev-overlay/plugins/xray.ts +++ b/packages/astro/src/runtime/client/dev-overlay/plugins/xray.ts @@ -158,8 +158,13 @@ export default { if (Object.keys(islandProps).length > 0) { tooltip.sections.push({ title: 'Props', - content: `
${JSON.stringify(Object.fromEntries(Object.entries(islandProps)
-						.map((prop: any) =>([prop[0], prop[1][1]]))), undefined, 2)}
`, + content: `
${JSON.stringify(
+						Object.fromEntries(
+							Object.entries(islandProps).map((prop: any) => [prop[0], prop[1][1]])
+						),
+						undefined,
+						2
+					)}
`, }); }