Skip to content

Commit

Permalink
style: Fix code style.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubnowicki committed Aug 7, 2023
1 parent 48c75ff commit 2f1c112
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions inst/examples/Overlay.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ server <- function(id) {
interactive = TRUE,
H5("Analytical applications"),
tags$p(
"User interfaces that enable people to interact smoothly with data,",
" ask better questions, and make better decisions."
"User interfaces that enable people to interact smoothly with data,",
" ask better questions, and make better decisions."
),
Button.shinyInput(
inputId = ns("closeOverlay"),
Expand Down
10 changes: 5 additions & 5 deletions inst/examples/Toast.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ ui <- function(id) {
)
),
H3("Another toaster"),
Button.shinyInput(
inputId = ns("anotherToastDanger"),
"Another danger",
intent = "danger"
),
Button.shinyInput(
inputId = ns("anotherToastDanger"),
"Another danger",
intent = "danger"
),
H3("Progress"),
Button.shinyInput(
inputId = ns("toastProgress"),
Expand Down
4 changes: 2 additions & 2 deletions inst/examples/Tree.R
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,12 @@ server <- function(id) {
)
})

output$info <- renderReact({
output$info <- renderReact({
UL(
tags$li("Selected (id): ", input$click$id),
tags$li("Selected (label): ", input$click$label)
)
})
})

output$selected_nodes_list <- renderReact({
UL(lapply(input$selected_nodes, function(node) tags$li(node)))
Expand Down
4 changes: 2 additions & 2 deletions inst/examples/showcase/app.R
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ makeRouter <- function(items, routes) {
href = "https://appsilon.github.io/shiny.react/",
target = "_blank",
img(
class = "logo",
src = "https://github.com/Appsilon/shiny.react/raw/master/man/figures/shiny-react.png" # nolint
class = "logo",
src = "https://github.com/Appsilon/shiny.react/raw/master/man/figures/shiny-react.png"
)
)
),
Expand Down

0 comments on commit 2f1c112

Please sign in to comment.