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

+1 -1
View File
@@ -1009,7 +1009,7 @@ Finally, call `.build()` to create the instance of `{name}`.
name: field_name, ..
} = field;
if *field_name == "key" {
return Err(Error::new_spanned(field_name, "Naming a prop `key` is not allowed because the name can conflict with the built in key attribute. See https://dioxuslabs.com/learn/0.4/reference/dynamic_rendering#rendering-lists for more information about keys"));
return Err(Error::new_spanned(field_name, "Naming a prop `key` is not allowed because the name can conflict with the built in key attribute. See https://dioxuslabs.com/learn/0.5/reference/dynamic_rendering#rendering-lists for more information about keys"));
}
let StructInfo {
ref builder_name, ..