fix: <Meta/> component as_ property outputs correct attribute html (#573)

This commit is contained in:
SleeplessOne1917 2023-02-24 08:58:15 -05:00 committed by GitHub
parent efe29fd057
commit a985ae5660
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,7 +87,7 @@ pub fn Link(
let builder_el = leptos::leptos_dom::html::link(cx)
.attr("id", &id)
.attr("as_", as_)
.attr("as", as_)
.attr("crossorigin", crossorigin)
.attr("disabled", disabled.unwrap_or(false))
.attr("fetchpriority", fetchpriority)