diff --git a/Examples/CaseStudies/SwiftUICaseStudies/00-RootView.swift b/Examples/CaseStudies/SwiftUICaseStudies/00-RootView.swift index 04cf9d453724..bd88f1233c94 100644 --- a/Examples/CaseStudies/SwiftUICaseStudies/00-RootView.swift +++ b/Examples/CaseStudies/SwiftUICaseStudies/00-RootView.swift @@ -146,7 +146,11 @@ struct RootView: View { Section { NavigationLink("Reusable favoriting component") { - Demo(store: Store(initialState: Episodes.State()) { Episodes() }) { store in + Demo(store: Store( + initialState: Episodes.State(episodes: .mocks) + ) { + Episodes() + }) { store in EpisodesView(store: store) } } diff --git a/Examples/CaseStudies/SwiftUICaseStudies/04-HigherOrderReducers-ReusableFavoriting.swift b/Examples/CaseStudies/SwiftUICaseStudies/04-HigherOrderReducers-ReusableFavoriting.swift index cb0031f19b65..9280de1a323f 100644 --- a/Examples/CaseStudies/SwiftUICaseStudies/04-HigherOrderReducers-ReusableFavoriting.swift +++ b/Examples/CaseStudies/SwiftUICaseStudies/04-HigherOrderReducers-ReusableFavoriting.swift @@ -195,7 +195,7 @@ extension IdentifiedArray where ID == Episode.State.ID, Element == Episode.State #Preview { NavigationStack { EpisodesView( - store: Store(initialState: Episodes.State()) { + store: Store(initialState: Episodes.State(episodes: .mocks)) { Episodes() } )