give stroke button name

This commit is contained in:
Ross
2025-05-05 15:28:04 +01:00
parent dc109c7fe6
commit f20506449c
+2 -2
View File
@@ -2,8 +2,8 @@ from nicegui import ui
from report_stroke import report_stroke # Import the report_stroke page
def main():
ui.label('Welcome to My NiceGUI App!')
ui.button('Click Me', on_click=lambda: ui.navigate.to('/report_stroke'))
ui.label('Report Generator')
ui.button('Stroke', on_click=lambda: ui.navigate.to('/report_stroke'))
@ui.page('/about')
def about_page():