From af75fb855fbea330f15959717e888702b94b51f5 Mon Sep 17 00:00:00 2001 From: Evan Almloff Date: Wed, 31 Jan 2024 12:24:36 -0600 Subject: [PATCH] wrap the result of render_with_location in an option --- packages/rsx/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/rsx/src/lib.rs b/packages/rsx/src/lib.rs index 680b1ed5e..b3b363e09 100644 --- a/packages/rsx/src/lib.rs +++ b/packages/rsx/src/lib.rs @@ -85,7 +85,9 @@ impl CallBody { }; quote! { - #body + Some({ + #body + }) } } }