mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-23 00:59:22 -05:00
Fixed typo
This commit is contained in:
parent
91f483c850
commit
ee930bbabb
1 changed files with 2 additions and 2 deletions
|
@ -46,9 +46,9 @@ pub fn use_cookie(cookie_name: &str) -> Option<Cookie<'static>> {
|
|||
use leptos::expect_context;
|
||||
|
||||
#[cfg(feature = "actix")]
|
||||
const COOKIE: http0_2::HeaderValue = http0_2::header::COOKIE;
|
||||
const COOKIE: http0_2::HeaderName = http0_2::header::COOKIE;
|
||||
#[cfg(feature = "axum")]
|
||||
const COOKIE: http1::HeaderValue = http1::header::COOKIE;
|
||||
const COOKIE: http1::HeaderName = http1::header::COOKIE;
|
||||
|
||||
#[cfg(feature = "actix")]
|
||||
type HeaderValue = http0_2::HeaderValue;
|
||||
|
|
Loading…
Add table
Reference in a new issue