Merge pull request #1190 from spotify/rugvip/radarfix

plugins/tech-radar: fix lint issue in RadarBubble
This commit is contained in:
Patrik Oldsberg
2020-06-08 11:19:21 +02:00
committed by GitHub
@@ -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> = props => {
}
};
useEffect(() => {
updatePosition();
}, []);
useLayoutEffect(() => {
updatePosition();
});