0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

[ci] format

This commit is contained in:
Fred K. Schott 2023-12-04 13:27:45 +00:00 committed by astrobot-houston
parent 29fa504467
commit 2fdcd6d719
2 changed files with 7 additions and 4 deletions

View file

@ -350,8 +350,6 @@ export class AstroDevOverlay extends HTMLElement {
this.setOverlayVisible(false);
}
});
}
async initPlugin(plugin: DevOverlayPlugin) {

View file

@ -158,8 +158,13 @@ export default {
if (Object.keys(islandProps).length > 0) {
tooltip.sections.push({
title: 'Props',
content: `<pre><code>${JSON.stringify(Object.fromEntries(Object.entries(islandProps)
.map((prop: any) =>([prop[0], prop[1][1]]))), undefined, 2)}</code></pre>`,
content: `<pre><code>${JSON.stringify(
Object.fromEntries(
Object.entries(islandProps).map((prop: any) => [prop[0], prop[1][1]])
),
undefined,
2
)}</code></pre>`,
});
}