Skip to content

phoenixframework/phoenix_live_view

Back Simplify push events diff (#4427)

Commit details

Simplify push events diff (#4427)

Description

* Simplify push events diff Construct the events map directly in get_push_events_diff/1. The getter returns a list, which is always truthy in Elixir, so the conditional has an unreachable falsy branch. * Remove redundant push events diff conditional

Metadata

Author
Barna Kovacs barna.kovacs@tutanota.com
Committed
Commit

Contributors

  • Barna Kovacs barna.kovacs@tutanota.com Author