fix: don't show alert when publishing

pull/3027/head
Tienson Qin 2021-10-27 23:42:22 +08:00
parent 762871c1e1
commit 9395a18ed1
1 changed files with 2 additions and 1 deletions

View File

@ -136,7 +136,8 @@
(rum/defc demo-graph-alert
[]
(when (config/demo-graph?)
(when (and (config/demo-graph?)
(not config/publishing?))
(ui/admonition
:warning
[:p (util/format