Skip to content

Commit 0114d5e

Browse files
alexus37Copilot
andcommitted
style: fix prettier formatting
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent c95922a commit 0114d5e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lazy-define.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ function scan(element: ElementLike) {
7171
}
7272
for (const el of pendingElements) {
7373
for (const tagName of dynamicElements.keys()) {
74-
const child: Element | null =
75-
el instanceof Element && el.matches(tagName) ? el : el.querySelector(tagName)
74+
const child: Element | null = el instanceof Element && el.matches(tagName) ? el : el.querySelector(tagName)
7675
if (customElements.get(tagName) || child) {
7776
const strategyName = (child?.getAttribute('data-load-on') || 'ready') as keyof typeof strategies
7877
const strategy = strategyName in strategies ? strategies[strategyName] : strategies.ready

0 commit comments

Comments
 (0)