Skip to content

Commit a581037

Browse files
committed
feat: format
1 parent b8696a8 commit a581037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pub async fn track_previous_url() {
3131
let previous_domain = if document().referrer() == "" {
3232
let mut res = "Undefined".to_owned();
3333
if let Some(from) = document().location() {
34-
if let Ok(url) = Url::new(&from.href().unwrap_or_default()) {
34+
if let Ok(url) = Url::new(&from.href().unwrap_or_default()) {
3535
let search_params = url.search_params();
3636
res = search_params.get("from").unwrap_or("Undefined".to_string());
3737
}

0 commit comments

Comments
 (0)