Commit 03cebeca by Johannes Schill

fix: Add pageName default to avoid "Loading undefined..."

parent c1d778c7
......@@ -4,7 +4,7 @@ interface Props {
pageName?: string;
}
const PageLoader: FC<Props> = ({ pageName }) => {
const PageLoader: FC<Props> = ({ pageName = '' }) => {
const loadingText = `Loading ${pageName}...`;
return (
<div className="page-loader-wrapper">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment