diff --git a/app/components/chart-selection-tabs.tsx b/app/components/chart-selection-tabs.tsx index e1bea6a135..9917c10bf1 100644 --- a/app/components/chart-selection-tabs.tsx +++ b/app/components/chart-selection-tabs.tsx @@ -233,6 +233,10 @@ const ShareChartEditionButton = () => { close(); }); + if (!key) { + return null; + } + return ( <>