From 03cebecac36726889d8d72ad5562d0f84b83ea4a Mon Sep 17 00:00:00 2001 From: Johannes Schill Date: Mon, 28 Jan 2019 13:04:36 +0100 Subject: [PATCH] fix: Add pageName default to avoid "Loading undefined..." --- public/app/core/components/PageLoader/PageLoader.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/core/components/PageLoader/PageLoader.tsx b/public/app/core/components/PageLoader/PageLoader.tsx index 3182695e5e5..6deeabf9a41 100644 --- a/public/app/core/components/PageLoader/PageLoader.tsx +++ b/public/app/core/components/PageLoader/PageLoader.tsx @@ -4,7 +4,7 @@ interface Props { pageName?: string; } -const PageLoader: FC = ({ pageName }) => { +const PageLoader: FC = ({ pageName = '' }) => { const loadingText = `Loading ${pageName}...`; return (