@@ -24,7 +24,7 @@ import SettingsFeature
2424import TopicFeature
2525import AuthFeature
2626
27- @Reducer ( state : . equatable )
27+ @Reducer
2828public enum Path {
2929 case articles( Articles . Body = Articles . body)
3030 case favorites( FavoritesRootFeature )
@@ -34,42 +34,49 @@ public enum Path {
3434 case qms( QMS . Body = QMS . body)
3535 case auth( AuthFeature )
3636
37- @Reducer ( state : . equatable )
37+ @Reducer
3838 public enum Articles {
3939 case articlesList( ArticlesListFeature )
4040 case article( ArticleFeature )
4141 }
4242
43- @Reducer ( state : . equatable )
43+ @Reducer
4444 public enum Profile {
4545 case profile( ProfileFeature )
4646 case history( HistoryFeature )
4747 case reputation( ReputationFeature )
4848 }
4949
50- @Reducer ( state : . equatable )
50+ @Reducer
5151 public enum Forum {
5252 case forumList( ForumsListFeature )
5353 case forum( ForumFeature )
5454 case announcement( AnnouncementFeature )
5555 case topic( TopicFeature )
5656 }
5757
58- @Reducer ( state : . equatable )
58+ @Reducer
5959 public enum Settings {
6060 case settings( SettingsFeature )
6161 case navigation( NavigationSettingsFeature )
6262 case notifications( NotificationsFeature )
6363 case developer( DeveloperFeature )
6464 }
6565
66- @Reducer ( state : . equatable )
66+ @Reducer
6767 public enum QMS {
6868 case qmsList( QMSListFeature )
6969 case qms( QMSFeature )
7070 }
7171}
7272
73+ extension Path . State : Equatable { }
74+ extension Path . Articles . State : Equatable { }
75+ extension Path . Profile . State : Equatable { }
76+ extension Path . Forum . State : Equatable { }
77+ extension Path . Settings . State : Equatable { }
78+ extension Path . QMS . State : Equatable { }
79+
7380extension Path {
7481 @MainActor @ViewBuilder
7582 public static func view( _ store: Store < Path . State , Path . Action > ) -> some View {
0 commit comments