plugins/tech-radar: fix lint issue in RadarBubble

This commit is contained in:
Patrik Oldsberg
2020-06-08 11:08:22 +02:00
parent bea471e74c
commit 9a1b363812
@@ -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();
});