From 2a51b70996c4ebcedd4b5951b0399101cd1d89b1 Mon Sep 17 00:00:00 2001 From: Garrick Aden-Buie Date: Wed, 4 Dec 2024 13:05:12 -0500 Subject: [PATCH] chore: Apply suggestions from code review --- R/navs-legacy.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/navs-legacy.R b/R/navs-legacy.R index ca7f1a6fe..ae9e4cdb3 100644 --- a/R/navs-legacy.R +++ b/R/navs-legacy.R @@ -245,7 +245,7 @@ navbar_options <- function( ) } if (length(dots$attribs)) { - opts[["attribs"]] <- dots$attribs + opts$attribs <- dots$attribs } structure( @@ -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)