Skip to content

Commit

Permalink
remove unused method
Browse files Browse the repository at this point in the history
Index.handle_click is never used in this example, looks like it is a remnant of copy-paste of example-1.py
  • Loading branch information
AvdN committed Jul 24, 2023
1 parent a70c531 commit dbf31d2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions doc/content/tutorial/03-events/example-2.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ def increase(self, input_event):

@app.route('/')
class Index(View):
def handle_click(self, input_event):
input_event.node.set_text('Success!')

def handle_request(self, request):
return HTML(
H1('Counter'),
Expand Down

0 comments on commit dbf31d2

Please sign in to comment.