瀏覽代碼

removed unneeded f string

Natan Keddem 1 年之前
父節點
當前提交
953940da3e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      website/more_documentation/button_documentation.py

+ 1 - 1
website/more_documentation/button_documentation.py

@@ -4,7 +4,7 @@ from ..documentation_tools import text_demo
 
 
 def main_demo() -> None:
-    ui.button('Click me!', on_click=lambda: ui.notify(f'You clicked me!'))
+    ui.button('Click me!', on_click=lambda: ui.notify('You clicked me!'))
 
 
 def more() -> None: