diff --git a/src/index.tsx b/src/index.tsx index 548c11a..90f74a5 100755 --- a/src/index.tsx +++ b/src/index.tsx @@ -10,7 +10,12 @@ interface Props { className?: string; } -const NoSSRinView = ({ children, fallback = null, rootMargin, className }: Props) => { +const NoSSRinView = ({ + children, + fallback = null, + rootMargin, + className, +}: Props) => { const margin = rootMargin && /((((.\d*)?(px))){4})/.test(rootMargin) ? rootMargin @@ -38,6 +43,3 @@ const NoSSRinView = ({ children, fallback = null, rootMargin, className }: Props }; export default NoSSRinView; - - -