File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ fn main() {
9898#[allow(non_snake_case)]
9999#[component]
100100fn ListComp (list_n : usize ) -> Element {
101- // Subscribe the state using the `DataChannel::ListN (list_n)` channel, where `list_n` is index of this element
101+ // Subscribe the state using the `DataChannel::SpecificListItemUpdate (list_n)` channel, where `list_n` is index of this element
102102 // Whenever a mutation (in this case just this component) occurs only
103103 // this component will rerun as it is the only one that is subscribed to this channel
104104 let mut radio = use_radio :: <Data , DataChannel >(DataChannel :: SpecificListItemUpdate (list_n ));
@@ -130,4 +130,4 @@ The idea of `dioxus-radio` originally started when I was working in [`freya-edit
130130
131131## License
132132
133- MIT License
133+ MIT License
You can’t perform that action at this time.
0 commit comments