mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 12:43:08 +00:00
Update use_shared_state.rs
This commit is contained in:
parent
d93d11262d
commit
a3654fd0b8
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ impl<T> ProvidedStateInner<T> {
|
|||
/// let current_theme = *theme.read();
|
||||
///
|
||||
/// render! {
|
||||
/// match &*theme.read() {
|
||||
/// match current_theme {
|
||||
/// Theme::Dark => {
|
||||
/// "Dark mode"
|
||||
/// }
|
||||
|
|
Loading…
Reference in a new issue