From bdb97496ec627cc2ae593333e5b27ee7102f973b Mon Sep 17 00:00:00 2001 From: Leon Sorokin Date: Wed, 19 Oct 2022 15:01:50 -0500 Subject: [PATCH] Routing: an unexpected spelling error happened (#57295) --- public/app/core/navigation/GrafanaRoute.test.tsx | 2 +- public/app/core/navigation/GrafanaRouteError.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/core/navigation/GrafanaRoute.test.tsx b/public/app/core/navigation/GrafanaRoute.test.tsx index 5aae04ab446..bf6efb99c83 100644 --- a/public/app/core/navigation/GrafanaRoute.test.tsx +++ b/public/app/core/navigation/GrafanaRoute.test.tsx @@ -67,7 +67,7 @@ describe('GrafanaRoute', () => { setup({ route: { component: PageComponent, path: '' } }); - expect(await screen.findByRole('heading', { name: 'An unexpected error happend' })).toBeInTheDocument(); + expect(await screen.findByRole('heading', { name: 'An unexpected error happened' })).toBeInTheDocument(); expect(consoleError).toHaveBeenCalled(); }); }); diff --git a/public/app/core/navigation/GrafanaRouteError.tsx b/public/app/core/navigation/GrafanaRouteError.tsx index e0eba15da70..6540312028a 100644 --- a/public/app/core/navigation/GrafanaRouteError.tsx +++ b/public/app/core/navigation/GrafanaRouteError.tsx @@ -43,7 +43,7 @@ export function GrafanaRouteError({ error, errorInfo }: Props) { )} {!isChunkLoadingError && ( - + )}