fix formatting
This commit is contained in:
1 parent
a14e5be7ad
commit
78b9b157dc
7 files changed
+40
-24
No files matched your search
@@ -18,7 +18,7 @@ pub fn use_effect(mut callback: impl FnMut() + 'static) {
|
||||
loop {
|
||||
// Run the effect
|
||||
rc.run_in(&mut callback);
|
||||
|
||||
|
||||
// Wait for context to change
|
||||
rc.changed().await;
|
||||
|
||||
|
||||
Reference in new issue
Block a user