fix clippy

This commit is contained in:
Evan Almloff committed 2023-07-18 13:16:17 -07:00
1 parent 8188011fe3
commit a96ccdc6f3
3 files changed
+4 -10

No files matched your search

+2 -2
View File
@@ -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.
"###,
"#,
)
}
}