From 9167a218a62490153a249c6fab97a97828454edb Mon Sep 17 00:00:00 2001 From: Ben Pankow Date: Mon, 26 Aug 2024 16:38:36 -0700 Subject: [PATCH] [DOC-381] make titles optional in CodeExamples (#23938) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Addresses https://linear.app/dagster-labs/issue/DOC-381/component-make-titles-optional-in-codeexamples. This turns out to be very easy, we just don't pass the title to the underlying component :) Screenshot 2024-08-26 at 4 29 23 PM --- docs/docs-beta/src/components/CodeExample.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs-beta/src/components/CodeExample.tsx b/docs/docs-beta/src/components/CodeExample.tsx index d3cd75fc95c4b..12b4875d701a4 100644 --- a/docs/docs-beta/src/components/CodeExample.tsx +++ b/docs/docs-beta/src/components/CodeExample.tsx @@ -35,7 +35,7 @@ const CodeExample: React.FC = ({filePath, language, title}) => } return ( - + {content || 'Loading...'} );