fix: lint warning

pull/7281/head
Tienson Qin 2022-11-10 00:11:17 +08:00
parent 49c7d8e51c
commit 1e77ffbd5f
1 changed files with 3 additions and 3 deletions

View File

@ -258,7 +258,7 @@
(declare button)
(rum/defc notification-clear-all
[state]
[]
[:div.ui__notifications-content
[:div.pointer-events-auto
(button "Clear all"
@ -284,8 +284,8 @@
(css-transition
{:timeout 100
:k "clear-all"}
(fn [state]
(notification-clear-all state))))
(fn [_state]
(notification-clear-all))))
items (if clear-all (cons clear-all notifications) notifications)]
(doall items)))))