mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
[ci] format
This commit is contained in:
parent
29fa504467
commit
2fdcd6d719
2 changed files with 7 additions and 4 deletions
|
@ -350,8 +350,6 @@ export class AstroDevOverlay extends HTMLElement {
|
|||
this.setOverlayVisible(false);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
async initPlugin(plugin: DevOverlayPlugin) {
|
||||
|
|
|
@ -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>`,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue