From 693305ee9538a6fc36a7e6d0ea3c25fddd9cdcf3 Mon Sep 17 00:00:00 2001 From: Francesco Sansalvadore Date: Fri, 12 May 2023 11:26:52 +0200 Subject: [PATCH] fix merge conflict --- apps/docs/layouts/guides/index.tsx | 91 ++++++++++++------------------ 1 file changed, 37 insertions(+), 54 deletions(-) diff --git a/apps/docs/layouts/guides/index.tsx b/apps/docs/layouts/guides/index.tsx index b0af7dfd509..4b1fd8046dd 100644 --- a/apps/docs/layouts/guides/index.tsx +++ b/apps/docs/layouts/guides/index.tsx @@ -107,50 +107,7 @@ const Layout: FC = (props) => { }} /> -
-
- {props.meta.breadcrumb && ( -

{props.meta.breadcrumb}

- )} -
-

{props.meta.title}

- {props.meta.subtitle && ( -

{props.meta.subtitle}

- )} -
- {props.children} - - {EDIT_BUTTON_EXCLUDE_LIST.includes(router.route) ? ( - <> - ) : ( - - )} -
-
- {!props.hideToc && hasTableOfContents && !props.meta?.hide_table_of_contents && ( +
= (props) => { {props.meta.subtitle && (

{props.meta.subtitle}

)} -
+
{props.children} {EDIT_BUTTON_EXCLUDE_LIST.includes(router.route) ? ( @@ -196,19 +153,45 @@ const Layout: FC = (props) => { {!props.hideToc && hasTableOfContents && !props.meta?.hide_table_of_contents && ( )}