diff --git a/src/use_cookie.rs b/src/use_cookie.rs index ea9137e..4eacbe6 100644 --- a/src/use_cookie.rs +++ b/src/use_cookie.rs @@ -140,6 +140,8 @@ impl Default for UseCookieOptions { .unwrap_or_default() .to_owned() } + #[cfg(not(feature = "ssr"))] + "".to_owned() }), } }