mirror of
https://github.com/status-im/open-bounty.git
synced 2025-02-19 20:58:32 +00:00
Prettier loading state for bounties and activity views
This commit is contained in:
parent
0bf840d19d
commit
62f955683c
@ -65,7 +65,7 @@
|
|||||||
activity-feed-loading? (rf/subscribe [:get-in [:activity-feed-loading?]])]
|
activity-feed-loading? (rf/subscribe [:get-in [:activity-feed-loading?]])]
|
||||||
(fn []
|
(fn []
|
||||||
(if @activity-feed-loading?
|
(if @activity-feed-loading?
|
||||||
[:div
|
[:div.view-loading-container
|
||||||
[:div.ui.active.inverted.dimmer
|
[:div.ui.active.inverted.dimmer
|
||||||
[:div.ui.text.loader "Loading"]]]
|
[:div.ui.text.loader.view-loading-label "Loading"]]]
|
||||||
[activity-list @activity-items]))))
|
[activity-list @activity-items]))))
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
open-bounties-loading? (rf/subscribe [:get-in [:open-bounties-loading?]])]
|
open-bounties-loading? (rf/subscribe [:get-in [:open-bounties-loading?]])]
|
||||||
(fn []
|
(fn []
|
||||||
(if @open-bounties-loading?
|
(if @open-bounties-loading?
|
||||||
[:container
|
[:div.view-loading-container
|
||||||
[:div.ui.active.inverted.dimmer
|
[:div.ui.active.inverted.dimmer
|
||||||
[:div.ui.text.loader "Loading"]]]
|
[:div.ui.text.loader.view-loading-label "Loading"]]]
|
||||||
[bounties-list @open-bounties]))))
|
[bounties-list @open-bounties]))))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user