fix(react): fix react warning (#753)

* fix(react): fix react warning

* fix(foldeable): browser complains

* fix(react): fix effects
This commit is contained in:
Michael Wong
2020-11-25 23:42:06 +08:00
committed by GitHub
parent a98239ea20
commit 5ace647ca3
4 changed files with 21 additions and 10 deletions

View File

@@ -352,11 +352,11 @@
[:a#download.hidden]
(when (and (not config/mobile?)
(not config/publishing?))
[(help-button)
(help-button)
;; [:div.font-bold.absolute.bottom-4.bg-base-2.rounded-full.h-8.w-8.flex.items-center.justify-center.font-bold.cursor.opacity-70.hover:opacity-100
;; {:style {:left 24}
;; :title "Click to show/hide sidebar"
;; :on-click (fn []
;; (state/set-left-sidebar-open! (not (state/get-left-sidebar-open?))))}
;; (if (state/sub :ui/left-sidebar-open?) "<" ">")]
])])))
)])))