From b6740ae561fc21ad4ba162b812920aa757cf44fd Mon Sep 17 00:00:00 2001 From: TakhyunKim Date: Mon, 29 Sep 2025 20:53:10 +0900 Subject: [PATCH] apply missing ) to DevtoolsPanel example code --- docs/framework/react/guides/custom-plugins.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/framework/react/guides/custom-plugins.md b/docs/framework/react/guides/custom-plugins.md index 3730088..f1b1ccf 100644 --- a/docs/framework/react/guides/custom-plugins.md +++ b/docs/framework/react/guides/custom-plugins.md @@ -121,7 +121,7 @@ export function DevtoolPanel() { useEffect(() => { // subscribe to the emitted event - const cleanup = DevtoolsEventClient.on("counter-state", e => setState(e.payload) + const cleanup = DevtoolsEventClient.on("counter-state", e => setState(e.payload)) return cleanup }, []) @@ -129,7 +129,7 @@ export function DevtoolPanel() {
{state.count}
{JSON.stringify(state.history)}
-
+
) } ```