update 0.4 doc links to 0.5

This commit is contained in:
Evan Almloff committed 2024-03-27 20:42:07 -05:00
1 parent f6c3b2745e
commit 36f67bd5e2
19 files changed
+54 -49

No files matched your search

+3 -3
View File
@@ -159,11 +159,11 @@ impl Display for IssueReport {
#[allow(clippy::enum_variant_names)] // we'll add non-hook ones in the future
/// Issues that might be found via static analysis of a Dioxus file.
pub enum Issue {
/// https://dioxuslabs.com/learn/0.4/reference/hooks#no-hooks-in-conditionals
/// https://dioxuslabs.com/learn/0.5/reference/hooks#no-hooks-in-conditionals
HookInsideConditional(HookInfo, ConditionalInfo),
/// https://dioxuslabs.com/learn/0.4/reference/hooks#no-hooks-in-loops
/// https://dioxuslabs.com/learn/0.5/reference/hooks#no-hooks-in-loops
HookInsideLoop(HookInfo, AnyLoopInfo),
/// https://dioxuslabs.com/learn/0.4/reference/hooks#no-hooks-in-closures
/// https://dioxuslabs.com/learn/0.5/reference/hooks#no-hooks-in-closures
HookInsideClosure(HookInfo, ClosureInfo),
HookOutsideComponent(HookInfo),
}