We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c96576 commit 1661444Copy full SHA for 1661444
docs/source/adding-interactivity/dangers-of-mutability/_examples/list_re_order.py
@@ -8,10 +8,10 @@ def ArtistList():
8
)
9
10
def handle_sort_click(event):
11
- set(list(sorted(set_artists)))
+ set_artists(list(sorted(artists)))
12
13
def handle_reverse_click(event):
14
- set(list(reversed(set_artists)))
+ set_artists(list(reversed(artists)))
15
16
return html.div(
17
html.h1("Inspiring sculptors:"),
0 commit comments