diff --git a/src/components/DashboardEditor/DashboardEditorHeader/DashboardEditorHeader.jsx b/src/components/DashboardEditor/DashboardEditorHeader/DashboardEditorHeader.jsx index 3353cf1131..97794d9e24 100644 --- a/src/components/DashboardEditor/DashboardEditorHeader/DashboardEditorHeader.jsx +++ b/src/components/DashboardEditor/DashboardEditorHeader/DashboardEditorHeader.jsx @@ -108,7 +108,7 @@ const DashboardEditorHeader = ({ tooltipAlignment="center" hasIconOnly renderIcon={DocumentExport16} - onClick={onExport(dashboardJson)} + onClick={() => onExport(dashboardJson)} /> )} {onDelete && ( @@ -129,7 +129,7 @@ const DashboardEditorHeader = ({ )} {onSubmit && ( - )}