fix incorrect way of checking for the prefix portion of the event type
This commit is contained in:
parent
719b84daf3
commit
3993415171
|
@ -1,9 +1,7 @@
|
|||
(ns reagent-data-views.utils
|
||||
(:require
|
||||
[clojure.string :as string]))
|
||||
(ns reagent-data-views.utils)
|
||||
|
||||
(defn relevant-event?
|
||||
[data]
|
||||
(and (vector? data)
|
||||
(keyword? (first data))
|
||||
(string/starts-with? (name (first data)) "views/")))
|
||||
(= (namespace (first data)) "views")))
|
||||
|
|
Loading…
Reference in a new issue