From 65dcc66eeaaa338151d63ef8e824f27031934cd3 Mon Sep 17 00:00:00 2001 From: Jordan Kay Date: Fri, 17 Dec 2021 11:59:07 -0500 Subject: [PATCH] Fix deprecation warning --- Source/Store.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Store.swift b/Source/Store.swift index 5efc688..257a63d 100644 --- a/Source/Store.swift +++ b/Source/Store.swift @@ -455,7 +455,7 @@ extension Store where Mode == ReadWrite { defer { actions.send(value: tagged) } let effect = SignalProducer?, Never>(effects) - .filterMap { $0 } + .compactMap { $0 } .filter { $0.uuid == tagged.uuid } .map { $0.value } .take(first: 1)