Skip to content

Commit 3eaabf8

Browse files
authored
docs: fix broken link in suspense (#4276)
1 parent d60c632 commit 3eaabf8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

leptos/src/suspense_component.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ use tachys::{
3232
};
3333
use throw_error::ErrorHookFuture;
3434

35-
/// If any [`Resource`](leptos_reactive::Resource) is read in the `children` of this
35+
/// If any [`Resource`](crate::prelude::Resource) is read in the `children` of this
3636
/// component, it will show the `fallback` while they are loading. Once all are resolved,
3737
/// it will render the `children`.
3838
///
3939
/// Each time one of the resources is loading again, it will fall back. To keep the current
40-
/// children instead, use [Transition](crate::Transition).
40+
/// children instead, use [Transition](crate::prelude::Transition).
4141
///
4242
/// Note that the `children` will be rendered initially (in order to capture the fact that
4343
/// those resources are read under the suspense), so you cannot assume that resources read

leptos/src/transition.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ use reactive_graph::{
1616
use slotmap::{DefaultKey, SlotMap};
1717
use tachys::reactive_graph::OwnedView;
1818

19-
/// If any [`Resource`](leptos_reactive::Resource) is read in the `children` of this
19+
/// If any [`Resource`](crate::prelude::Resource) is read in the `children` of this
2020
/// component, it will show the `fallback` while they are loading. Once all are resolved,
2121
/// it will render the `children`.
2222
///
23-
/// Unlike [`Suspense`](crate::Suspense), this will not fall
23+
/// Unlike [`Suspense`](crate::prelude::Suspense), this will not fall
2424
/// back to the `fallback` state if there are further changes after the initial load.
2525
///
2626
/// Note that the `children` will be rendered initially (in order to capture the fact that

0 commit comments

Comments
 (0)