Skip to content

Commit 56b4bd3

Browse files
rexxarsbjoerge
authored andcommitted
[base] Fix code style issue (#135)
1 parent e5c6182 commit 56b4bd3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/@sanity/base/src/preview/streams/intersectionObservableFor.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ const ROOT_MARGIN_PX = 150
1111
Adapted from the polyfill at https://github.com/WICG/IntersectionObserver
1212
*/
1313
function isIntersectionObserverSupported() {
14-
if ('IntersectionObserver' in window &&
15-
'IntersectionObserverEntry' in window &&
16-
'intersectionRatio' in IntersectionObserverEntry.prototype) {
14+
if ('IntersectionObserver' in window
15+
&& 'IntersectionObserverEntry' in window
16+
&& 'intersectionRatio' in IntersectionObserverEntry.prototype) {
1717

1818
// Minimal polyfill for Edge 15's lack of `isIntersecting`
1919
// See: https://github.com/WICG/IntersectionObserver/issues/211

0 commit comments

Comments
 (0)