diff --git a/redwood-treehouse-host/src/commonMain/kotlin/app/cash/redwood/treehouse/ChangeListRenderer.kt b/redwood-treehouse-host/src/commonMain/kotlin/app/cash/redwood/treehouse/ChangeListRenderer.kt index 1d95ca8f81..8c161da5a2 100644 --- a/redwood-treehouse-host/src/commonMain/kotlin/app/cash/redwood/treehouse/ChangeListRenderer.kt +++ b/redwood-treehouse-host/src/commonMain/kotlin/app/cash/redwood/treehouse/ChangeListRenderer.kt @@ -19,7 +19,6 @@ import app.cash.redwood.protocol.EventSink import app.cash.redwood.protocol.SnapshotChangeList import app.cash.redwood.protocol.widget.ProtocolBridge import app.cash.redwood.protocol.widget.ProtocolMismatchHandler -import app.cash.redwood.protocol.widget.ProtocolNode import kotlinx.serialization.json.Json /** @@ -46,7 +45,7 @@ public class ChangeListRenderer( factory = view.widgetSystem.widgetFactory( json, ProtocolMismatchHandler.Throwing, - ) as ProtocolNode.Factory, + ), eventSink = refuseAllEvents, ) bridge.sendChanges(changeList.changes)