docs: fix instruction typos (#631)

This commit is contained in:
IchHabeKeineNamen 2023-03-06 22:05:21 +08:00 committed by GitHub
parent 08d98691a3
commit 0052b10df3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,7 +84,7 @@ impl RouterContext {
} else {
let history = use_context::<RouterIntegrationContext>(cx).unwrap_or_else(|| {
let msg = "No router integration found.\n\nIf you are using this in the browser, \
you should enable `feature = [\"csr\"]` or `feature = [\"hydrate\"] in your \
you should enable `features = [\"csr\"]` or `features = [\"hydrate\"] in your \
`leptos_router` import.\n\nIf you are using this on the server without a \
Leptos server integration, you must call provide_context::<RouterIntegrationContext>(cx, ...) \
somewhere above the <Router/>.";