fix clippy
This commit is contained in:
1 parent
8188011fe3
commit
a96ccdc6f3
3 files changed
+4
-10
No files matched your search
@@ -688,13 +688,13 @@ impl<'src> ScopeState {
|
||||
raw_ref.downcast_mut::<State>()
|
||||
})
|
||||
.expect(
|
||||
r###"
|
||||
r#"
|
||||
Unable to retrieve the hook that was initialized at this index.
|
||||
Consult the `rules of hooks` to understand how to use hooks properly.
|
||||
|
||||
You likely used the hook in a conditional. Hooks rely on consistent ordering between renders.
|
||||
Functions prefixed with "use" should never be called conditionally.
|
||||
"###,
|
||||
"#,
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user