Skip to content

Commit

Permalink
switch shiny$boostrapPage for bslib page
Browse files Browse the repository at this point in the history
  • Loading branch information
Nithador committed Oct 9, 2024
1 parent 48aae78 commit e6575f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/logic/honeybee/honeybee_beekeeper_map.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ honeybee_leaflet_map <- function(map_raster,
group = "Beehavelayers",
className = "info legend Beehavelayers"
)

if (main_map_features) {
leaflet_map <- leaflet_map |>
addRasterImage(
Expand Down
5 changes: 3 additions & 2 deletions app/main.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
box::use(
shiny,
bslib[nav_select, bs_theme, page_navbar, nav_menu, nav_spacer, nav_item, nav_panel],
bslib[nav_select, bs_theme, page_navbar, nav_menu, nav_spacer, nav_item, nav_panel, page],
shinyjs[useShinyjs],
waiter[useWaiter, useHostess, waiterShowOnLoad, waiter_hide, spin_loaders],
cicerone[use_cicerone],
Expand Down Expand Up @@ -46,7 +46,8 @@ i18n$set_translation_language("en")
#' @export
ui <- function(id) {
ns <- shiny$NS(id)
shiny$bootstrapPage(
page(
#shiny$bootstrapPage(
theme = biodt_theme,
# Head ----
shiny$tags$head(
Expand Down

0 comments on commit e6575f7

Please sign in to comment.