From f6e2a9dc569765b02ceb44e9fd94694facfec49c Mon Sep 17 00:00:00 2001 From: Javier Gonzalez Date: Sat, 1 Mar 2025 21:30:27 +0100 Subject: [PATCH] Update readonlyMiddleware.mdx --- apps/site/docs/actionMiddlewares/readonlyMiddleware.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/site/docs/actionMiddlewares/readonlyMiddleware.mdx b/apps/site/docs/actionMiddlewares/readonlyMiddleware.mdx index c924cbcd..2d66c208 100644 --- a/apps/site/docs/actionMiddlewares/readonlyMiddleware.mdx +++ b/apps/site/docs/actionMiddlewares/readonlyMiddleware.mdx @@ -5,7 +5,7 @@ slug: /action-middlewares/readonly-middleware ## Overview -Attaches an action middleware that will throw when any action is started over the node or any of the child nodes, thus effectively making the subtree readonly. \* It will return an object with a `dispose` function to remove the middleware and an `allowWrite` function that will allow actions to be started inside the provided code block. +Attaches an action middleware that will throw when any action is started over the node or any of the child nodes, thus effectively making the subtree readonly. It will return an object with a `dispose` function to remove the middleware and an `allowWrite` function that will allow actions to be started inside the provided code block. Example: