diff --git a/leptos_i18n_macro/src/load_locales/mod.rs b/leptos_i18n_macro/src/load_locales/mod.rs index ce13054c..5439d969 100644 --- a/leptos_i18n_macro/src/load_locales/mod.rs +++ b/leptos_i18n_macro/src/load_locales/mod.rs @@ -185,7 +185,7 @@ fn load_locales_inner( /// Create and provide a i18n context for all children components, directly accessible with `use_i18n`. #[l_i18n_crate::reexports::leptos::component] #[allow(non_snake_case)] - pub fn I18nContextProvider( + pub fn I18nContextProvider( /// If the "lang" attribute should be set on the root `` element. (default to true) #[prop(optional)] set_lang_attr_on_html: Option, @@ -221,7 +221,7 @@ fn load_locales_inner( /// Create and provide a subcontext for all children components, directly accessible with `use_i18n`. #[l_i18n_crate::reexports::leptos::component] #[allow(non_snake_case)] - pub fn I18nSubContextProvider( + pub fn I18nSubContextProvider( children: TypedChildren, /// The initial locale for this subcontext. /// Default to the locale set in the cookie if set and some,