Skip to content

Commit

Permalink
chore: Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
gadenbuie authored Dec 4, 2024
1 parent 45f2fdf commit 2a51b70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/navs-legacy.R
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ navbar_options <- function(
)
}
if (length(dots$attribs)) {
opts[["attribs"]] <- dots$attribs
opts$attribs <- dots$attribs
}

structure(
Expand Down Expand Up @@ -364,7 +364,7 @@ navbar_options_resolve_deprecated <- function(
)
}

attribs <- options_user$attrs %||% list()
attribs <- options_user[["attribs"]] %||% list()
options_user$attribs <- NULL

rlang::exec(navbar_options, !!!options_user, !!!attribs)
Expand Down

0 comments on commit 2a51b70

Please sign in to comment.