From 21aab03ff823d190992e71df688acf8ee6a357a4 Mon Sep 17 00:00:00 2001 From: Nick K Date: Tue, 7 May 2024 00:18:49 +0300 Subject: [PATCH] Fix a typo in 2nd example --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 412692c..3fbbb8e 100644 --- a/readme.md +++ b/readme.md @@ -62,7 +62,7 @@ createRoot(root).render() You can opt-out by enabling strict mode in `SlateView`, or `useSlateToReact`, or `transformNodes` options. When enabled, `NodeNoIdFieldError` will be thrown if any node without the `id` field is encountered. -2. Use can use `slate-to-react` with React Server Components too. For that use `transformNodes` function directly: +2. You can use `slate-to-react` with React Server Components too. For that use `transformNodes` function directly: ```ts import type {FC} from "react"