From 53816a565975e30b0117d0c942cc1b4f70c8b324 Mon Sep 17 00:00:00 2001 From: maapteh Date: Tue, 3 Dec 2019 23:01:48 +0100 Subject: [PATCH] lint --- src/index.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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; - - -