diff --git a/.nojekyll b/.nojekyll index c90fd04..c29eec4 100644 --- a/.nojekyll +++ b/.nojekyll @@ -1 +1 @@ -cfd6519d \ No newline at end of file +307b1467 \ No newline at end of file diff --git a/materials/d1-02-structure/index.html b/materials/d1-02-structure/index.html index f2fd991..3eb468d 100644 --- a/materials/d1-02-structure/index.html +++ b/materials/d1-02-structure/index.html @@ -778,26 +778,16 @@

To () or not to ()

moduleServer( id, function(input, output, session) { - set_choices <- reactive({ - # do something with sets_rv - }) - - observeEvent(set_choices(), { - req(set_choices()) - updateSelectInput( - "set_num", - choices = set_choices() - ) - }) - - set_selection <- reactive({ - input$set_num - }) - - set_selection - } - ) -} + # ... + + set_selection <- reactive({ + input$set_num + }) + + set_selection + } + ) +}