Skip to content

Commit 172e4fc

Browse files
author
Luis Merino
committed
chore(Sentinel): tag is now <template> compatible with audits
1 parent 16c2ce8 commit 172e4fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sentinel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Sentinel extends Component {
1919
rootMargin: computeRootMargin(props),
2020
};
2121

22-
this.target = <span style={{ height: 1, width: 1, display: 'block' }} />;
22+
this.target = <template style={{ height: 1, minWidth: 1, display: 'block' }} />;
2323

2424
props.setRef(this.setRootElement);
2525
}

0 commit comments

Comments
 (0)