Skip to content

Commit

Permalink
remove unnecessary error message
Browse files Browse the repository at this point in the history
  • Loading branch information
m7pr committed Oct 25, 2023
1 parent 0670e3b commit 007c0e1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions R/init.R
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,6 @@ init <- function(data,
landing <- extract_module(modules, "teal_module_landing")
if (length(landing) > 1L) stop("Only one `landing_popup_module` can be used.")
modules <- drop_module(modules, "teal_module_landing")
if (length(landing) == 1L && length(modules) == 0L) {
stop("The app must have at least one module besides `landing_popup_module`.")
}

# resolve modules datanames
datanames <- teal.data::get_dataname(data)
Expand Down

0 comments on commit 007c0e1

Please sign in to comment.