Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33309424
D3681.1768804733.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
769 B
Referenced Files
None
Subscribers
None
D3681.1768804733.diff
View Options
diff --git a/landing/keyservers.react.js b/landing/keyservers.react.js
--- a/landing/keyservers.react.js
+++ b/landing/keyservers.react.js
@@ -3,14 +3,13 @@
import { create } from '@lottiefiles/lottie-interactivity';
import * as React from 'react';
+import { useIsomorphicLayoutEffect } from 'lib/hooks/isomorphic-layout-effect.react';
+
import { assetsCacheURLPrefix } from './asset-meta-data';
import css from './keyservers.css';
import ReadDocsButton from './read-docs-btn.react';
import StarBackground from './star-background.react';
-const useIsomorphicLayoutEffect =
- typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;
-
function Keyservers(): React.Node {
React.useEffect(() => {
import('@lottiefiles/lottie-player');
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 19, 6:38 AM (12 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5954731
Default Alt Text
D3681.1768804733.diff (769 B)
Attached To
Mode
D3681: [web] [refactor] [ENG-986] use lib useIsomorphicLayoutEffect
Attached
Detach File
Event Timeline
Log In to Comment