From c71cee414e69eb9898862a53bff90bc766fef687 Mon Sep 17 00:00:00 2001 From: Petyo Ivanov Date: Fri, 3 Nov 2023 21:30:18 +0200 Subject: [PATCH] docs: fix variable name Fixes #157 --- docs/getting-started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index add30923..e94c0525 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -73,7 +73,7 @@ export default function InitializedMDXEditor({ // ForwardRefEditor.tsx // This is the only place InitializedMDXEditor is imported directly. -const MDEditor = dynamic(() => import("./InitializedMDXEditor"), { +const Editor = dynamic(() => import("./InitializedMDXEditor"), { // Make sure we turn SSR off ssr: false, }); @@ -81,7 +81,7 @@ const MDEditor = dynamic(() => import("./InitializedMDXEditor"), { // This is what is imported by other components. Pre-initialized with plugins, and ready // to accept other props, including a ref. export const ForwardRefEditor = forwardRef( - (props, ref) => , + (props, ref) => , ); // TS complains without the following line