Skip to content

Commit

Permalink
fix: fixed uncaught syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
arctic-hen7 committed Jun 20, 2022
1 parent 4c6d1cf commit 3cc247b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/comprehensive/tiny/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub fn main<G: Html>() -> PerseusApp<G> {
}
})
})
.error_pages(|| ErrorPages::new(|cx, url, status, err, _| view! { cx
.error_pages(|| ErrorPages::new(|cx, url, status, err, _| view! { cx,
p { (format!("An error with HTTP code {} occurred at '{}': '{}'.", status, url, err)) }
}))
}

0 comments on commit 3cc247b

Please sign in to comment.