We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63bce61 commit c935be1Copy full SHA for c935be1
packages/utils/src/browser.ts
@@ -168,8 +168,8 @@ export function getElementIdentifier(
168
options: string[] | { keyAttrs?: string[]; maxStringLength?: number } = {},
169
): string {
170
if (elem instanceof HTMLElement && elem.dataset) {
171
- return elem.dataset['component'] || htmlTreeAsString(elem, options)
+ return elem.dataset['component'] || htmlTreeAsString(elem, options);
172
}
173
174
- return htmlTreeAsString(elem, options)
175
- }
+ return htmlTreeAsString(elem, options);
+}
0 commit comments