Update use_shared_state.rs

This commit is contained in:
Marc Espín authored and GitHub committed 2023-06-20 19:13:34 +02:00
1 parent d93d11262d
commit a3654fd0b8
1 file changed
+1 -1
+1 -1
View File
@@ -71,7 +71,7 @@ impl<T> ProvidedStateInner<T> {
/// let current_theme = *theme.read();
///
/// render! {
/// match &*theme.read() {
/// match current_theme {
/// Theme::Dark => {
/// "Dark mode"
/// }