diff --git a/sdk/src/utils/window.rs b/sdk/src/utils/window.rs index 5e3fb5b..5571f24 100644 --- a/sdk/src/utils/window.rs +++ b/sdk/src/utils/window.rs @@ -31,8 +31,8 @@ pub struct WindowSize { /// let size = use_window_size(); /// /// rsx! { -/// p { "Width: {size.width}" } -/// p { "Height: {size.height}" } +/// p { "Width: {size().width}" } +/// p { "Height: {size().height}" } /// } /// } /// ```