Refactor Page component

This commit is contained in:
anovazzi1 2024-02-21 16:57:40 -03:00
commit c319e18e15

View file

@ -378,12 +378,6 @@ export default function Page({
panOnDrag={!view} panOnDrag={!view}
proOptions={{ hideAttribution: true }} proOptions={{ hideAttribution: true }}
onPaneClick={onPaneClick} onPaneClick={onPaneClick}
onEdgeMouseEnter={(event, edge) =>
onMouseAction(edge, "#473A5C")
}
onEdgeMouseLeave={(event, edge) =>
onMouseAction(edge, "#555")
}
> >
<Background className="" /> <Background className="" />
{!view && ( {!view && (