From 9a1b363812dc3fffd38a94aec608c258a69a661f Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Mon, 8 Jun 2020 11:08:22 +0200 Subject: [PATCH] plugins/tech-radar: fix lint issue in RadarBubble --- .../tech-radar/src/components/RadarBubble/RadarBubble.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugins/tech-radar/src/components/RadarBubble/RadarBubble.tsx b/plugins/tech-radar/src/components/RadarBubble/RadarBubble.tsx index 28890f984b..dcf9a37ed7 100644 --- a/plugins/tech-radar/src/components/RadarBubble/RadarBubble.tsx +++ b/plugins/tech-radar/src/components/RadarBubble/RadarBubble.tsx @@ -14,7 +14,7 @@ * limitations under the License. */ -import React, { FC, useRef, useEffect, useLayoutEffect } from 'react'; +import React, { FC, useRef, useLayoutEffect } from 'react'; import { makeStyles, Theme } from '@material-ui/core'; type Props = { @@ -88,10 +88,6 @@ const RadarBubble: FC = props => { } }; - useEffect(() => { - updatePosition(); - }, []); - useLayoutEffect(() => { updatePosition(); });