diff --git a/Sources/ComposableArchitecture/Documentation.docc/Articles/SharingState.md b/Sources/ComposableArchitecture/Documentation.docc/Articles/SharingState.md index 13be14e4d5b2..bc30a89eacc5 100644 --- a/Sources/ComposableArchitecture/Documentation.docc/Articles/SharingState.md +++ b/Sources/ComposableArchitecture/Documentation.docc/Articles/SharingState.md @@ -87,7 +87,7 @@ the feature's state: struct ParentFeature { @ObservableState struct State { - @Shared var count: Int + @Shared(value: 0) var count: Int // Other properties } // ...