From de97f6d8430cb380e1677c23952df522a54028f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tao=20Bojl=C3=A9n?= <66130243+taobojlen@users.noreply.github.com> Date: Sat, 10 Jun 2023 20:24:53 +0100 Subject: [PATCH] fix frontend builds --- frontend/src/components/molecules/Cytoscape.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/molecules/Cytoscape.tsx b/frontend/src/components/molecules/Cytoscape.tsx index 9592f2f..c101afa 100644 --- a/frontend/src/components/molecules/Cytoscape.tsx +++ b/frontend/src/components/molecules/Cytoscape.tsx @@ -3,7 +3,7 @@ import { isEqual } from "lodash"; import * as React from "react"; import ReactDOM from "react-dom"; import styled from "styled-components"; -import tippy, { Instance } from "tippy.js"; +import tippy from "tippy.js"; import { DEFAULT_NODE_COLOR, HOVERED_NODE_COLOR, @@ -65,10 +65,10 @@ class Cytoscape extends React.PureComponent { trigger: "manual", }); n.on("mouseover", () => { - (t as Instance).show(); + (t as any).show(); }); n.on("mouseout", () => { - (t as Instance).hide(); + (t as any).hide(); }); });