mirror of
https://github.com/penpot/penpot.git
synced 2025-04-11 22:41:23 -05:00
Remove useless code from ui/messages.
This commit is contained in:
parent
492b822568
commit
3b2078ac56
1 changed files with 0 additions and 10 deletions
|
@ -40,19 +40,10 @@
|
|||
:timeout timeout
|
||||
:content message}))))
|
||||
|
||||
;; (set-timeout! 1000 #(error "Something wrong has happened 1"))
|
||||
;; (set-timeout! 2000 #(error "Something wrong has happened 2"))
|
||||
;; (set-timeout! 3000 #(error "Something wrong has happened 3"))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Component
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(defn messages-will-update
|
||||
[own]
|
||||
(println "messages-will-update")
|
||||
own)
|
||||
|
||||
(defn messages-render
|
||||
[own]
|
||||
(when-let [message (rum/react +message+)]
|
||||
|
@ -69,6 +60,5 @@
|
|||
(def ^:const messages
|
||||
(mx/component
|
||||
{:render messages-render
|
||||
:will-update messages-will-update
|
||||
:name "messages"
|
||||
:mixins [mx/static rum/reactive]}))
|
||||
|
|
Loading…
Add table
Reference in a new issue