From cf07f20847642aec1eafe6234c2ce35264bbaabb Mon Sep 17 00:00:00 2001
From: Kristóf Marussy <kristof@marussy.com>
Date: Fri, 23 Feb 2024 19:03:03 +0100
Subject: feat(frontend): graph export formal selector

---
 subprojects/frontend/src/graph/GraphArea.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'subprojects/frontend/src/graph/GraphArea.tsx')

diff --git a/subprojects/frontend/src/graph/GraphArea.tsx b/subprojects/frontend/src/graph/GraphArea.tsx
index 2bf40d1a..1416a259 100644
--- a/subprojects/frontend/src/graph/GraphArea.tsx
+++ b/subprojects/frontend/src/graph/GraphArea.tsx
@@ -11,7 +11,7 @@ import { useState } from 'react';
 import { useResizeDetector } from 'react-resize-detector';
 
 import DotGraphVisualizer from './DotGraphVisualizer';
-import ExportButton from './ExportButton';
+import ExportPanel from './ExportPanel';
 import type GraphStore from './GraphStore';
 import VisibilityPanel from './VisibilityPanel';
 import ZoomCanvas from './ZoomCanvas';
@@ -48,7 +48,7 @@ function GraphArea({ graph }: { graph: GraphStore }): JSX.Element {
         )}
       </ZoomCanvas>
       <VisibilityPanel graph={graph} dialog={dialog} />
-      <ExportButton svgContainer={svgContainer} />
+      <ExportPanel graph={graph} svgContainer={svgContainer} dialog={dialog} />
     </Box>
   );
 }
-- 
cgit v1.2.3-54-g00ecf

