From 25d45e884a3432d772549a3819c18a0f06ec7169 Mon Sep 17 00:00:00 2001 From: Joshua Date: Tue, 9 Jan 2024 10:36:03 -0600 Subject: [PATCH] now thats prettier --- .../src/client/exports/ComponentCreator.tsx | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/packages/docusaurus/src/client/exports/ComponentCreator.tsx b/packages/docusaurus/src/client/exports/ComponentCreator.tsx index 2b7dfbcbaca2..88cebc261b3c 100644 --- a/packages/docusaurus/src/client/exports/ComponentCreator.tsx +++ b/packages/docusaurus/src/client/exports/ComponentCreator.tsx @@ -45,22 +45,22 @@ export default function ComponentCreator( } if (path.endsWith('/*')) { return Loadable({ - loading: Loading, - loader: () => import('@theme/NotFound/Content'), - modules: ['@theme/NotFound/Content'], - webpack: () => [require.resolveWeak('@theme/NotFound/Content')], - render(loaded, props) { - const NotFoundContent = loaded.default; - return ( - - - - ); - }, + loading: Loading, + loader: () => import('@theme/NotFound/Content'), + modules: ['@theme/NotFound/Content'], + webpack: () => [require.resolveWeak('@theme/NotFound/Content')], + render(loaded, props) { + const NotFoundContent = loaded.default; + return ( + + + + ); + }, }); -} + } const chunkNames = routesChunkNames[`${path}-${hash}`]!; // eslint-disable-next-line @typescript-eslint/no-explicit-any