Skip to content

Commit

Permalink
wip fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
osalamon committed Sep 4, 2024
1 parent 4657d61 commit 9fe8424
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion app/view/disease_outbreaks/disease_app/disease_app.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ box::use(

box::use(
app/view/disease_outbreaks/disease_app/disease_map[disease_map_ui, disease_map_server],
app/view/disease_outbreaks/disease_app/disease_select[disease_select_ui, disease_select_server],
)


Expand All @@ -20,7 +21,10 @@ disease_app_ui <- function(id, i18n) {
disease_map_ui(
ns("disease_map"), i18n
),
tags$h3(i18n$translate("Location")),
disease_select_ui(
ns("disease_select"), i18n
),
# tags$h3(i18n$translate("Location")),
),
tags$h3(i18n$translate("Output Plot"))
)
Expand Down
4 changes: 3 additions & 1 deletion app/view/disease_outbreaks/disease_app/disease_select.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
box::use(
shiny[moduleServer, NS, tagList, selectInput, bootstrapPage]
shiny[moduleServer, NS, tagList, selectInput, bootstrapPage, tags],
bslib[card, card_header, card_body],
)

#' @export
disease_select_ui <- function(id, theme, i18n) {
ns <- NS(id)
bootstrapPage(
Expand Down

0 comments on commit 9fe8424

Please sign in to comment.