diff --git a/Sources/Model/Data Flow/State.swift b/Sources/Model/Data Flow/State.swift index 32d5c4d..6216223 100644 --- a/Sources/Model/Data Flow/State.swift +++ b/Sources/Model/Data Flow/State.swift @@ -51,6 +51,9 @@ public struct State: StateProtocol { return value } nonmutating set { + if content.storage == nil { + _ = rawValue + } content.value = newValue } }