diff --git a/public/app/features/dashboard-scene/sharing/ExportButton/ExportAsJson.tsx b/public/app/features/dashboard-scene/sharing/ExportButton/ExportAsJson.tsx
index 42fd0ef7a51..0130441e843 100644
--- a/public/app/features/dashboard-scene/sharing/ExportButton/ExportAsJson.tsx
+++ b/public/app/features/dashboard-scene/sharing/ExportButton/ExportAsJson.tsx
@@ -19,7 +19,7 @@ export class ExportAsJson extends ShareExportTab {
static Component = ExportAsJsonRenderer;
public getTabLabel(): string {
- return t('export.json.title', 'Save dashboard JSON');
+ return t('export.json.title', 'Export dashboard JSON');
}
}
diff --git a/public/app/features/dashboard-scene/sharing/ShareButton/share-externally/EmailShare/CreateEmailSharing.tsx b/public/app/features/dashboard-scene/sharing/ShareButton/share-externally/EmailShare/CreateEmailSharing.tsx
index bdece958b30..cf2761f8a40 100644
--- a/public/app/features/dashboard-scene/sharing/ShareButton/share-externally/EmailShare/CreateEmailSharing.tsx
+++ b/public/app/features/dashboard-scene/sharing/ShareButton/share-externally/EmailShare/CreateEmailSharing.tsx
@@ -15,7 +15,7 @@ import { EmailSharingPricingAlert } from '../../../../../dashboard/components/Sh
import { useShareDrawerContext } from '../../../ShareDrawer/ShareDrawerContext';
export const CreateEmailSharing = ({ hasError }: { hasError: boolean }) => {
- const { dashboard } = useShareDrawerContext();
+ const { dashboard, onDismiss } = useShareDrawerContext();
const styles = useStyles2(getStyles);
const [createPublicDashboard, { isLoading, isError }] = useCreatePublicDashboardMutation();
@@ -49,7 +49,7 @@ export const CreateEmailSharing = ({ hasError }: { hasError: boolean }) => {
-