diff --git a/public/app/features/dashboard-scene/sharing/ExportButton/ExportToRepository.tsx b/public/app/features/dashboard-scene/sharing/ExportButton/ExportToRepository.tsx index ae3e80e8fcc..5ae95d93ff0 100644 --- a/public/app/features/dashboard-scene/sharing/ExportButton/ExportToRepository.tsx +++ b/public/app/features/dashboard-scene/sharing/ExportButton/ExportToRepository.tsx @@ -15,7 +15,7 @@ export class ExportToRepository extends ShareExportTab { function ExportToRepositoryRenderer({ model }: SceneComponentProps) { const dashboard = model.getRoot(); if (!(dashboard instanceof DashboardScene)) { - return null; + return <>; } return ( @@ -24,7 +24,6 @@ function ExportToRepositoryRenderer({ model }: SceneComponentProps