Skip to content

Commit 23eb5ac

Browse files
authored
Remove outdated warning text (#3643)
Fixes #3545.
1 parent fd409c7 commit 23eb5ac

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Sources/ComposableArchitecture/Reducer/Reducers/PresentationReducer.swift

+1-2
Original file line numberDiff line numberDiff line change
@@ -646,8 +646,7 @@ public struct _PresentationReducer<Base: Reducer, Destination: Reducer>: Reducer
646646
647647
• This action was sent to the store while destination state was "nil". Make sure that \
648648
actions for this reducer can only be sent from a store when state is present, or \
649-
from effects that start from this reducer. In SwiftUI applications, use a Composable \
650-
Architecture view modifier like "sheet(store:…)".
649+
from effects that start from this reducer.
651650
""",
652651
fileID: fileID,
653652
filePath: filePath,

Tests/ComposableArchitectureTests/Reducers/PresentationReducerTests.swift

+2-4
Original file line numberDiff line numberDiff line change
@@ -1740,8 +1740,7 @@ final class PresentationReducerTests: BaseTCATestCase {
17401740
17411741
• This action was sent to the store while destination state was "nil". Make sure that \
17421742
actions for this reducer can only be sent from a store when state is present, or \
1743-
from effects that start from this reducer. In SwiftUI applications, use a Composable \
1744-
Architecture view modifier like "sheet(store:…)".
1743+
from effects that start from this reducer.
17451744
"""
17461745
}
17471746

@@ -1797,8 +1796,7 @@ final class PresentationReducerTests: BaseTCATestCase {
17971796
17981797
• This action was sent to the store while destination state was "nil". Make sure that \
17991798
actions for this reducer can only be sent from a store when state is present, or \
1800-
from effects that start from this reducer. In SwiftUI applications, use a Composable \
1801-
Architecture view modifier like "sheet(store:…)".
1799+
from effects that start from this reducer.
18021800
"""
18031801
}
18041802

0 commit comments

Comments
 (0)