Skip to content

Commit

Permalink
fix: doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
DogeDark committed Apr 23, 2024
1 parent 9932864 commit 6f2319c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/src/utils/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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}" }
/// }
/// }
/// ```
Expand Down

0 comments on commit 6f2319c

Please sign in to comment.