[ci] format
This commit is contained in:
parent
160d1cd755
commit
a0dc79b946
2 changed files with 5 additions and 3 deletions
|
@ -12,7 +12,7 @@ export interface HydrationMetadata {
|
|||
directive: string;
|
||||
value: string;
|
||||
componentUrl: string;
|
||||
componentExport: { value: string; };
|
||||
componentExport: { value: string };
|
||||
}
|
||||
|
||||
type Props = Record<string | number | symbol, any>;
|
||||
|
@ -29,7 +29,6 @@ const transitionDirectivesToCopyOnIsland = Object.freeze([
|
|||
'data-astro-transition-persist',
|
||||
]);
|
||||
|
||||
|
||||
// Used to extract the directives, aka `client:load` information about a component.
|
||||
// Finds these special props and removes them from what gets passed into the component.
|
||||
export function extractDirectives(
|
||||
|
|
|
@ -92,7 +92,10 @@ async function renderFrameworkComponent(
|
|||
displayName,
|
||||
};
|
||||
|
||||
const { hydration, isPage, props, propsWithoutTransitionAttributes } = extractDirectives(_props, clientDirectives);
|
||||
const { hydration, isPage, props, propsWithoutTransitionAttributes } = extractDirectives(
|
||||
_props,
|
||||
clientDirectives
|
||||
);
|
||||
let html = '';
|
||||
let attrs: Record<string, string> | undefined = undefined;
|
||||
|
||||
|
|
Loading…
Reference in a new issue